how to get the root of a web application with watir/firewati


Ad

Advertisements

M

Mario Ruiz

I'm going to give you more information that can be useful for the
matter:


Firewatir is giving me the relative url and not the absolute as I need.
I'm using the next example:
links=ff.links()
hrefLinks=Array.new()
a=0
links.each {|link| hrefLinks[a]= link.href; a=a+1}

But I'm storing only the relative url and I need to store the absolute
one.

Thank you in advance.
 

Top