Table of Contents

Class ScreenOrientation

Namespace
WebDriverBiDi.Emulation
Assembly
WebDriverBiDi.dll

Represents the screen orientation settings for emulation.

public class ScreenOrientation
Inheritance
ScreenOrientation
Inherited Members

Constructors

ScreenOrientation(ScreenOrientationNatural, ScreenOrientationType)

Initializes a new instance of the ScreenOrientation class.

public ScreenOrientation(ScreenOrientationNatural naturalOrientation, ScreenOrientationType emulatedOrientationType)

Parameters

naturalOrientation ScreenOrientationNatural

The natural screen orientation of the emulated display.

emulatedOrientationType ScreenOrientationType

The current orientation of the emulated display.

Properties

NaturalScreenOrientation

Gets or sets the natural screen orientation of the emulated display.

[JsonPropertyName("natural")]
public ScreenOrientationNatural NaturalScreenOrientation { get; set; }

Property Value

ScreenOrientationNatural

ScreenOrientationType

Gets or sets the current orientation of the emulated display.

[JsonPropertyName("type")]
public ScreenOrientationType ScreenOrientationType { get; set; }

Property Value

ScreenOrientationType