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
naturalOrientationScreenOrientationNaturalThe natural screen orientation of the emulated display.
emulatedOrientationTypeScreenOrientationTypeThe 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
ScreenOrientationType
Gets or sets the current orientation of the emulated display.
[JsonPropertyName("type")]
public ScreenOrientationType ScreenOrientationType { get; set; }