View Source Improve this doc

longPressKeycode

Press a particular key code on the device.

Usage

1
2
browser.longPressKeycode(keycode,metastate);

Parameters

Param Type Details
keycode String key code to press
metastate String meta state to be activated

Example

longPressKeycode.js
1
2
// press the home button long
browser.longPressKeycode(3)

Support

Support for android