public IeWrapper(InternetExplorerDriver parent, InternetExplorer toWrap) { this.parent = parent; browser = toWrap; browser.NewWindow2 += delegate(ref object ppDisp, ref bool Cancel) { InternetExplorer newWindow = new InternetExplorer(); newWindow.Visible = browser.Visible; ppDisp = newWindow; parent.AddWrapper(new IeWrapper(parent, newWindow)); }; Visible = false; }
public void TestFixtureSetup() { driver = new InternetExplorerDriver(); driver.Visible = true; }
public IeWrapper(InternetExplorerDriver parent) : this(parent, new InternetExplorer()) { }