= 'yes'
end
end
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Bolton
Sent: Tuesday, January 24, 2006 2:26 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
Get the developer to fix his bug?
---Michael B
@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
I'm not sure if this will solve your problem, but I posted some code to
the Wiki FAQ (http://watir.net/FAQ#Closing_all_open_IE_windows) a while
ago to close all open IE windows:
# close all open ie windows
all_closed = 'unknown
Richard - With regard to closing all IE windows, something I unearthed this week is that sometimes Watir is a little too quick. What do I mean? Well, when some of the windows close in our sites, the application throws a 'Are you sure you want to leave?' window. I tried a bunch of different ways to
I think this will help.
begin
# attach to and close all IE windows
rescue
end
I think that Bret Pettichord posted code that does what you need, but
I can not find it now.
Zeljko
2006/1/24, Richard Lawrence [EMAIL PROTECTED]:
I'm trying to attach to and close all IE windows before and
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: Tuesday, January 24, 2006 8:21 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
I think this will help.
begin
# attach to and close all IE windows
rescue
end
I think
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeljko Filipin
Sent: Tuesday, January 24, 2006 8:21 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
I think this will help.
begin
# attach to and close all IE windows
rescue
, the attach call fails, and I'm left with an orphan IE
window.
Richard
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Atilla Ozgur
Sent: Tuesday, January 24, 2006 10:25 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
Problem
Get the developer to fix his bug?
---Michael B.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Lawrence
Sent: January 24, 2006 1:49 PM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] close all IE windows
It's not that. It's an address