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)
| 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: |