Table of Contents

Class Bounds

Namespace
OpenQA.Selenium.DevTools.V146.Browser
Assembly
Selenium.WebDriver.dll

Browser window bounds information

public sealed class Bounds
Inheritance
Bounds
Inherited Members

Properties

Height

The window height in pixels.

[JsonPropertyName("height")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Height { get; set; }

Property Value

long?

Left

The offset from the left edge of the screen to the window in pixels.

[JsonPropertyName("left")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Left { get; set; }

Property Value

long?

Top

The offset from the top edge of the screen to the window in pixels.

[JsonPropertyName("top")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Top { get; set; }

Property Value

long?

Width

The window width in pixels.

[JsonPropertyName("width")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Width { get; set; }

Property Value

long?

WindowState

The window state. Default to normal.

[JsonPropertyName("windowState")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public WindowState? WindowState { get; set; }

Property Value

WindowState?