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?
Thanks,
Al Snow
Agile Software Automation Developer
Linkedin: http://www.linkedin.com/in/alsnow
Google Talk: jasnow1
Twitter: jasnow

> Date: Mon, 16 Mar 2009 02:45:21 -0700
> Subject: [wtr-general] Watir problem with IE
> From: rakeshg...@gmail.com
> To: watir-general@googlegroups.com
> 
> 
> Hi,
> 
> When i execute the following code
> 
> ie = Watir::IE.new()
> ie.goto("http://www.yahoo.com";)
> 
> it opens a new IE window first and then goes to a second window, where
> yahoo.com 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.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to