pressKey
Press hardware keys on mobile devices for automation testing. Simulate actions like home, back, menu, power, and volume controls on Android and iOS platforms.
Instructions
Press a hardware key on the device (Maestro equivalent of pressButton)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to press | |
| platform | Yes | Platform of the device |