I have a problem here.
I have a ruby code that opens Google, types “book stores” and clicks on
Code Snippet Begins here
url1 = ‘http://www.google.com’
ie = Watir::IE.start(url1)
Code Snippet Ends here
Now I need to obtain the value of the response URL generated by this
search and assign it to a variable.
[ i.e. http://www.google.com/search?hl=en&lr=&q=book+stores]
How do I read the HTTP Header information for the “location” attribute?
Any help is greatly appreciated.