getScreenOrientation method

Class: IosDeviceInfoPlatform: Selenium 3Language: Java SDK:

Use this method to retrieve the secreen orientation (portrait or landscape).

Syntax


ScreenOrientation value = obj.getScreenOrientation();

Parameters

This method does not take any parameters.

Return value

Type: ScreenOrientation