public TestIEPage(TestInternetExplorer browser, InternetExplorer ie) { if (browser == null || ie == null) { throw new CannotGetTestPageException("Browser can not be null."); } try { this._browser = browser; this._internalIE = ie; this._rootDocument = new TestIEDocument(ie.Document as IHTMLDocument2); } catch (TestException) { throw; } catch (Exception ex) { throw new CannotGetTestPageException(ex.ToString()); } }
public TestSession(TestInternetExplorer browser) { this._browser = browser; }