Get the device orientation
get_orientationCheck the current physical orientation of the iOS Simulator to determine if the device is in portrait or landscape before adjusting UI tests or layouts.
Instructions
Report the simulator's current physical orientation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||