Watir : Working in same session of IE
- From: Anukul Singhal <anukul.singhal@xxxxxxxxx>
- Date: Wed, 30 Apr 2008 04:52:14 -0500
Hi,
Actually am stuck in a problem.
I am performing the following set of commands:
require 'watir'
ie = Watir::IE.new
ie.goto("http://www.google.com")
When I execute, it successfully opens a new browser with the correct
google url.
Now, in this code, I simply want to add:
ie.text_field(:name, "q").set 'roger federer'
If I append the above line to the above code, it will open a new session
of IE and will perform the operation of setting the text box too, but my
objective is not to open a new IE with google url but to perform the set
command in the existing browser only.
Can anyone help how to do that?
Thanks,
Anukul
--
Posted via http://www.ruby-forum.com/.
.
- Follow-Ups:
- Re: Watir : Working in same session of IE
- From: aidy
- Re: Watir : Working in same session of IE
- From: Peña, Botp
- Re: Watir : Working in same session of IE
- Prev by Date: Free YouTube Video Downloader Software
- Next by Date: Re: Watir : Working in same session of IE
- Previous by thread: Free YouTube Video Downloader Software
- Next by thread: Re: Watir : Working in same session of IE
- Index(es):
Relevant Pages
|