screen_orientation property

Class: ChromeEmulationInfoPlatform: Selenium 3Language: Python SDK:

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

Syntax


obj.screen_orientation  = value # type is Union[ScreenOrientation,Text]
value = obj.screen_orientation

Type:Union[ScreenOrientation,Text]

screenOrientation