appium_mobile_device_control
Control device behavior for mobile app testing: lock/unlock the screen, perform a shake gesture, or open the notifications panel with a single action parameter.
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; defaults to the active session. |