Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
how to get the root of a web application with watir/firewati
Mario Ruiz
12/4/2007 1:19:00 PM
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.
--
Posted via
http://www.ruby-...
.
1 Answer
Mario Ruiz
12/5/2007 9:56:00 AM
0
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.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
how to get the root of a web application with watir/firewati
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password