Table of Contents

Class ScreenInfo

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

Screen information similar to the one returned by window.getScreenDetails() method, see https://w3c.github.io/window-management/#screendetailed.

public sealed class ScreenInfo
Inheritance
ScreenInfo
Inherited Members

Properties

AvailHeight

Height of the available screen area.

[JsonPropertyName("availHeight")]
public long AvailHeight { get; set; }

Property Value

long

AvailLeft

Offset of the left edge of the available screen area.

[JsonPropertyName("availLeft")]
public long AvailLeft { get; set; }

Property Value

long

AvailTop

Offset of the top edge of the available screen area.

[JsonPropertyName("availTop")]
public long AvailTop { get; set; }

Property Value

long

AvailWidth

Width of the available screen area.

[JsonPropertyName("availWidth")]
public long AvailWidth { get; set; }

Property Value

long

ColorDepth

Specifies the screen's color depth in bits.

[JsonPropertyName("colorDepth")]
public long ColorDepth { get; set; }

Property Value

long

DevicePixelRatio

Specifies the screen's device pixel ratio.

[JsonPropertyName("devicePixelRatio")]
public double DevicePixelRatio { get; set; }

Property Value

double

Height

Height of the screen.

[JsonPropertyName("height")]
public long Height { get; set; }

Property Value

long

Id

Specifies the unique identifier of the screen.

[JsonPropertyName("id")]
public string Id { get; set; }

Property Value

string

IsExtended

Indicates whether the device has multiple screens.

[JsonPropertyName("isExtended")]
public bool IsExtended { get; set; }

Property Value

bool

IsInternal

Indicates whether the screen is internal to the device or external, attached to the device.

[JsonPropertyName("isInternal")]
public bool IsInternal { get; set; }

Property Value

bool

IsPrimary

Indicates whether the screen is set as the the operating system primary screen.

[JsonPropertyName("isPrimary")]
public bool IsPrimary { get; set; }

Property Value

bool

Label

Specifies the descriptive label for the screen.

[JsonPropertyName("label")]
public string Label { get; set; }

Property Value

string

Left

Offset of the left edge of the screen.

[JsonPropertyName("left")]
public long Left { get; set; }

Property Value

long

Orientation

Specifies the screen's orientation.

[JsonPropertyName("orientation")]
public ScreenOrientation Orientation { get; set; }

Property Value

ScreenOrientation

Top

Offset of the top edge of the screen.

[JsonPropertyName("top")]
public long Top { get; set; }

Property Value

long

Width

Width of the screen.

[JsonPropertyName("width")]
public long Width { get; set; }

Property Value

long