Set orientation
set_orientationChanges the device orientation to portrait, landscape-left, landscape-right, or upside-down on Android to test app responsiveness to screen rotation.
Instructions
Set device orientation (portrait, landscape-left, landscape-right, upside-down). Android only; iOS simulators must be rotated via the Simulator menu.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | Device id from list_devices (adb serial like 'emulator-5554', or an iOS simulator UDID) | |
| orientation | Yes |