press_button
Press hardware buttons (HOME, LOCK, SIDE_BUTTON, SIRI, APPLE_PAY) on an iOS Simulator to trigger system actions like backgrounding the app or locking the screen.
Instructions
Press a hardware button (HOME backgrounds the app; LOCK locks the screen).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes | ||
| udid | No | Target simulator UDID. Defaults to the booted sim. |