Top Rounds
| We are Hiring! |

_keyPress ·

This is a Browser Action API.

_keyPress simulates pressing a keyboard key on the given element.

Syntax:

_keyPress( element, character, COMBO_KEY )
The parameters are:

  • element: HTML Element to press the key on
  • character: Character to be pressed
  • COMBO_KEY: Combination key pressed along with the key. Can be “ALT”, “CTRL”, “META” or “SHIFT

Example:

_keyPress(document.body, ‘a’);
_keyPress(document.body, ‘a “CTRL”);




---


Top Rounds