MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / keyDown

Method keyDown

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

* Inserts an action to press a single key. * * @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 {!Actions} a self reference.

(key)

Source from the content-addressed store, hash-verified

771 * @return {!Actions} a self reference.
772 */
773 keyDown(key) {
774 return this.insert(this.keyboard_, this.keyboard_.keyDown(key))
775 }
776
777 /**
778 * Inserts an action to release a single key.

Callers 4

sendKeysMethod · 0.45
actions_test.jsFile · 0.45
input_test.jsFile · 0.45
input_test.jsFile · 0.45

Calls 1

insertMethod · 0.95

Tested by

no test coverage detected