MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / keyDown

Method keyDown

javascript/selenium-webdriver/lib/input.js:284–286  ·  view source on GitHub ↗

* Generates a key down action. * * @param {(Key|string|number)} key the key to press. This key may be * specified as a Key value, a specific unicode code point, * or a string containing a single unicode code point. * @return {!Action} a new key down action. * @packa

(key)

Source from the content-addressed store, hash-verified

282 * @package
283 */
284 keyDown(key) {
285 return { type: Action.Type.KEY_DOWN, value: checkCodePoint(key) }
286 }
287
288 /**
289 * Generates a key up action.

Callers

nothing calls this directly

Calls 1

checkCodePointFunction · 0.85

Tested by

no test coverage detected