|
|
|
|
||||||
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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-forum.com/. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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-forum.com/. |
|
![]() |
| Outils de la discussion | |
|
|