rotate_device
Rotate a mobile device to portrait or landscape orientation and wait for the rotation animation to complete, enabling testing of orientation-dependent layouts.
Instructions
Rotates a mobile device to portrait or landscape orientation. Waits for the OS rotation animation to complete. Use to test orientation-dependent layouts. Mobile-only; no effect in browser sessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orientation | Yes | Device orientation |