Represents an instance of a browser
Inheritance: ElementsContainer, IDOMRoot
Example #1
0
 /// <summary>
 /// Initializes the <see cref="BrowserWindow"/> given the specified browser, window handle, and a description
 /// </summary>
 /// <param name="browser">The browser object that this window belongs to</param>
 /// <param name="windowHandle">The handle of the browser window as returned from <see cref="IWebDriver.WindowHandles"/> or <see cref="IWebDriver.CurrentWindowHandle"/></param>
 /// <param name="description">The description of the window, as you want to appear in the log</param>
 public BrowserWindow(Browser browser, string windowHandle, string description)
     : base(description)
 {
     _browser = browser;
     _windowHandle = windowHandle;
 }