Check for opened Browser using WatiN

Posted by SD on Stack Overflow See other posts from Stack Overflow or by SD
Published on 2009-12-20T13:13:36Z Indexed on 2010/05/31 6:02 UTC
Read the original article Hit count: 198

Filed under:

I want to check if an IE is already opened or not

If IE is opened so i.e. Goto("WWW.GOOGLE.COM");
else open new IE and goto Yahoo.com

for example:

 br = new WatiN.Core.IE(@textBox1.Text);

then when I press a button I want to check if IE is opened or not and perform the previous scenario.

© Stack Overflow or respective owner

Related posts about watin