PressKeyCode Method (MobileDevice)

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

C#
device.PressKeyCode(keyCode)
VB
device.PressKeyCode(keyCode)
Variable Description
keyCode The desired key code to press. Integer.