This code works for minimize and background IE browsers... Is there a
way to turn background on/off in the middle of a script??
require 'watir'
include Watir
class IE
def exists?
begin
@ie.hWnd== -1
return true
rescue
$ie.ie.visible = false
At 11:12 AM 8/18/2005, Peter Chau wrote:
This code works for minimize and background IE browsers... Is there a
way to turn background on/off in the middle of a script??
require 'watir'
include Watir
class IE
def exists?
begin
@ie.hWnd== -1
Window_exists?
Paul
- Original Message -
From: Peter Chau [EMAIL PROTECTED]
Date: Wednesday, August 17, 2005 11:47 am
Subject: RE: [Wtr-general] Detecting a closed IE
Thanx this works
class IE
def window_exists?
begin
return false if @ie.hWnd== -1
return
by hidden, minimised? or, behind
another window or something else Im not thinking of?
Paul
- Original Message -
From: Bret Pettichord [EMAIL PROTECTED]
Date: Wednesday, August 17, 2005 4:17 pm
Subject: Re: RE: [Wtr-general] Detecting a closed IE
How about just 'exists?'
Note