ScreenOrientation EnumerationWebDriver
Represents possible screen orientations.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public enum ScreenOrientation
Members

  Member nameValueDescription
Portrait0 Represents a portrait mode, where the screen is vertical.
Landscape1 Represents Landscape mode, where the screen is horizontal.
See Also