The answer (assuming you are running Vista) is in the Watir FAQ under
What should I do if two browser windows appear when running a test under 
Windows Vista?
Al Snow
Agile Software Automation Developer
Google Talk: jasnow1
Twitter: jasnow

> Date: Mon, 16 Mar 2009 02:45:21 -0700
> Subject: [wtr-general] Watir problem with IE
> From:
> To:
> Hi,
> When i execute the following code
> ie =
> ie.goto("";)
> it opens a new IE window first and then goes to a second window, where
> is opened. When i give a command like ie.refresh() or access
> ie.html it is the first window ( which is blank ) that is being
> refreshed. Can you please suggest how to avoid multiple windows being
> opened and also how to save a webpage opened like this?
> Thanks,
> Rakesh Pai
> > 

Windows Liveā„¢: Life without walls.
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to