appium_mobile_device_control
Control mobile device behavior for Appium tests: lock or unlock the screen, shake the device, or open the notifications panel.
Instructions
Control device behavior: lock/unlock the screen, shake the device, or open the notifications panel. Use the action parameter to choose what to do.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform. lock: lock the device (optional seconds for timed lock). unlock: unlock the device. shake: perform shake gesture (iOS only). open_notifications: open notifications panel (Android only). | |
| seconds | No | Only for action=lock: lock duration in seconds before auto-unlock. Omit to remain locked until unlock. | |
| sessionId | No | Session ID to target. If omitted, uses the active session. |