pressKey

Press a device button such as home or enter.

Examples

- pressKey: home          # press the home button
- pressKey: lock          # press the lock button
- pressKey: enter         # press the enter button
- pressKey: backspace     # press the backspace button
- pressKey: volume up     # press the volume up button
- pressKey: volume down  # press the volume down button
- pressKey: back          # press the back button (Android only)
- pressKey: power         # press the power button (Android only)

Last updated