ScreenOrientation property

Class: ChromeEmulationInfoPlatform: Selenium 3Language: C# SDK:

This property can be used to set and retrieve if the device is portrait or landscape

Syntax


ScreenOrientation value; // give relevant initial value
obj.ScreenOrientation  = value;
value = obj.ScreenOrientation

Type:ScreenOrientation