Get Orientation
mobile_get_orientationGet the current screen orientation of an iOS or Android device by passing its device identifier, so automation and tests can adapt to portrait or landscape layouts.
Instructions
Get the current screen orientation of the device
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. |