Thanks for your answer but this is not working in my case.
Since I'm logging the user with watir and I need to get the html with
net/http in the same connection.
Thanks for the try.

On May 20, 4:11 pm, sHiVa <krapa.ph...@gmail.com> wrote:
> Hi TCBlues,
>
> This code can help you. Here what i am doing is, using watir i opened
> yahoo.com and by passing the current yahoo url to the net/http i am
> capturing all the html code as a response for the url
>
> require 'watir'
> require 'net/http'
> require 'rubygems'
> ie=Watir::IE.start('www.yahoo.com')
> url=ie.url
> puts html = Net::HTTP.get_response(URI.parse(url)).body
>
> Regards
> Siva Phaneendra Krapa
> Virtusa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to