The information in this topic may be out of date. The current SDK reference guide has moved here.

screen_orientation property

Class: ChromeEmulationInfoPlatform: Selenium 3Language: Python SDK:

Use this property to set and retrieve if the device is portrait or landscape

Syntax

obj.screen_orientation  = value
value = obj.screen_orientation

Type:ScreenOrientation

screenOrientation