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

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top