Hi,
Somebody knows how to get the root of the web application.
For example if I am in: www.elmundo.es/ppe/sskk/aaa.htm the root maybe
can be www.elmundo.es/ppe/ or maybe is www.elmundo.es/
I’m using watir / firewatir.
Thank you in advance.
Hi,
Somebody knows how to get the root of the web application.
For example if I am in: www.elmundo.es/ppe/sskk/aaa.htm the root maybe
can be www.elmundo.es/ppe/ or maybe is www.elmundo.es/
I’m using watir / firewatir.
Thank you in advance.
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs