I was really happy with Nokogiri for parsing DOM content. For actually
activating Javascript and interacting with a page, Watir is nice and easy
to use. But it really depends on what exactly you're trying to achieve.
 On 23 May 2013 13:38, "Igor Andreev" <lists / ruby-forum.com> wrote:

> Is there is a way to get page as text (like curl in php) and parse it to
> get needed info?
> Also, I don't really know, is there is a way when getting url through
> something like curl to enter user data in forms or activate javascript
> on page (if there is authentication before showing page etc)?
>
> --
> Posted via http://www.ruby-forum.com/.
>
>