[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Watir: how to get the url in a frame

Mario Ruiz

12/6/2007 3:27:00 PM

I'm using this code:

class GiveMe(frame)
def initialize
@frameURL=frame.url()


a few operations with this data


return result
end
end


nav=Watir::IE.new()
nav.goto("http://es-aas.com/customers/info/ette...)


isok=GiveMe.new(nav.frame("top").frame("data"))
...
isok=GiveMe.new(nav.frame("main"))
...
isok=GiveMe.new(nav)
...


This is working only for the last case
How can I get the url of a frame?


Thanks in advance.
--
Posted via http://www.ruby-....

1 Answer

Mario Ruiz

12/10/2007 9:50:00 AM

0

No ideas?
--
Posted via http://www.ruby-....