MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Window

Method Window

dotnet/src/webdriver/Window.cs:36–40  ·  view source on GitHub ↗

Initializes a new instance of the class. Instance of the driver currently in use

(WebDriver driver)

Source from the content-addressed store, hash-verified

34 /// </summary>
35 /// <param name="driver">Instance of the driver currently in use</param>
36 public Window(WebDriver driver)
37 {
38 ArgumentNullException.ThrowIfNull(driver);
39 this.driver = driver;
40 }
41
42 /// <summary>
43 /// Gets or sets the position of the browser window relative to the upper-left corner of the screen.

Calls 1

ThrowIfNullMethod · 0.80