PressKeyCode Method (MobileDevice)

Class

MobileDevice class

Action

Presses a certain Android-specific key code. This method is not supported on iOS.

For additional information about the supported Android key codes, refer to the Appium documentation.

Syntax

device.PressKeyCode(keyCode)
Variable Description
keyCode The desired key code to press. INTEGER.