pressKeycode

Press a particular key code on the device.

Usage

1
browser.pressKeycode(keycode,metastate);

Parameters

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

Example

pressKeycode.js
1
2
// press the home button
browser.pressKeycode('3')

Support

Support for android