Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Watir: Facing problem with "IE.attach"
Anukul Singhal
5/20/2008 7:20:00 AM
Hi,
I tried the following piece of code:
require 'watir'
ie = Watir::IE.new
ie.attach("www.yahoo.com")
Getting the following error:
undefined method 'attach' for #<Watir::IE:0x90edef0> (No Method Error)
I know the goto method and the start method can navigate me to the
desired url but what I want to do is this:
1. I want to first check if there is any open browser already existing.
2. If it exists, I want to attach a url to it.
3. If it does not exist, then I want to create a new instance and
navigate to the desired url using goto.
Can anyone please help me in getting this troubleshooted?
Thanks,
Anukul
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Watir: Facing problem with "IE.attach"
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