ios_button
Press hardware buttons on iOS simulators for testing interactions. Use to simulate HOME, LOCK, SIDE_BUTTON, SIRI, or APPLE_PAY actions with optional duration control.
Instructions
Press a hardware button on an iOS simulator. Requires IDB to be installed (brew install idb-companion).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | Hardware button to press: HOME, LOCK, SIDE_BUTTON, SIRI, or APPLE_PAY | |
| duration | No | Optional button press duration in seconds | |
| udid | No | Optional simulator UDID. Uses booted simulator if not specified. |