If you need to fetch the contents of multiple pages, you can also use the 
Typhoeus gem to run the requests in parallel:

If you need to actually perform actions (like logging in, clicking buttons, 
filling out forms, etc.), you can use the Mechanize gem to do that:

http://docs.seattlerb.org/mechanize/


On Wednesday, February 12, 2014 5:26:45 AM UTC-8, Pradeep Pai. wrote:
>
> Hi ,
>
> I am new to Ruby. I need to find a way to navigate through a set of 
> webpages. I have a configuration file with keywords and corresponding HREFs 
> as shown below :
>
> "page1" : /hello/world/page1
> "page2" : /hello/world/page2
> "page3" : /hello/world/page3
>
> I want to pass a single string variable with the necessary navigation 
> using the ">" symbol in the following format for navigation :  "*page1 > 
> page2 > page3*"
>
> Is it possible to do so in Ruby ? 
>
>

-- 
-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
--- 
You received this message because you are subscribed to the Google Groups "SD 
Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to