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

Method keyDown

java/src/org/openqa/selenium/interactions/Actions.java:78–80  ·  view source on GitHub ↗

Performs a modifier key press. Does not release the modifier key - subsequent interactions may assume it's kept pressed. Note that the modifier key is never released implicitly - either keyUp(theKey) or sendKeys(Keys.NULL) must be called to release the modifier. @param key @ret

(CharSequence key)

Source from the content-addressed store, hash-verified

76 * @return A self reference.
77 */
78 public Actions keyDown(CharSequence key) {
79 return addKeyAction(key, codePoint -> tick(getActiveKeyboard().createKeyDown(codePoint)));
80 }
81
82 /**
83 * Performs a modifier key press after focusing on an element. Equivalent to:

Calls 5

addKeyActionMethod · 0.95
tickMethod · 0.95
getActiveKeyboardMethod · 0.95
focusInTicksMethod · 0.95
createKeyDownMethod · 0.80