示例#1
0
 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;
 }
示例#2
0
 public void TestFixtureSetup()
 {
     driver = new InternetExplorerDriver();
     driver.Visible = true;
 }
示例#3
0
 public void TestFixtureSetup()
 {
     driver         = new InternetExplorerDriver();
     driver.Visible = true;
 }
示例#4
0
 public IeWrapper(InternetExplorerDriver parent)
     : this(parent, new InternetExplorer())
 {
 }