I just tried –b option and file upload pop-ups appear.
 
Zeljko


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom
Sent: Friday, November 04, 2005 3:42 PM
To: [email protected]
Subject: Re: [Wtr-general] How to hide the explorer window in Watir

You could try:

 

$ie.minimize, but I’m not sure if that will also keep your pop ups minimized.

 

Failing that, you could run the –b when calling your script from the command line:

 

>C:/Watir/my_script.rb –b

 

This will make your script run in the background. Since this does not create an ie window, you will not be able peek at what’s happening. I believe this should avoid the pop ups from appearing, but I haven’t tried this myself.

 

Tom

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chaya shetty
Sent: Friday, November 04, 2005 3:49 AM
To: [email protected]
Subject: [Wtr-general] How to hide the explorer window in Watir

 

 

Hi,
          I want the internet explorer window to be hidden while my script is running.
 One option for this is:
 $ie.getIE.visible = false
 But this will just hide the main window, the popups are not hidden.
 Is there any other way to do this??

 

 Thanks

Chaya




 


Enjoy this Diwali with Y! India Click here

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to