Initializes a new instance of the class. Instance of the driver currently in use
(WebDriver driver)
| 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. |