[Wtr-general] Getting number of IE browsers open

Egil Sorensen forum-watir-users at openqa.org
Tue Oct 31 20:01:01 EST 2006


> Below is the Watir 1.5 code use in IE.attach and
> IE.find. It iterates 
> through all the IE windows to find a match. You could
> modify this simply 
> count open windows.
> 
> Bret
(...)

Just note that if you have, say, one browser session open with 5 tabs, then you will get a count of 5. (Yes, I tried it :)

~~ Egil
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=5000&messageID=14045#14045


More information about the Wtr-general mailing list