docs(api.md): fix keyboard.press note about modifier keys (#2711)
This commit is contained in:
parent
9498b1057b
commit
eca661096b
@ -1729,7 +1729,7 @@ After the key is pressed once, subsequent calls to [`keyboard.down`](#keyboarddo
|
||||
|
||||
If `key` is a single character and no modifier keys besides `Shift` are being held down, a `keypress`/`input` event will also generated. The `text` option can be specified to force an input event to be generated.
|
||||
|
||||
> **NOTE** Modifier keys DO effect `elementHandle.press`. Holding down `Shift` will type the text in upper case.
|
||||
> **NOTE** Modifier keys DO effect `keyboard.press`. Holding down `Shift` will type the text in upper case.
|
||||
|
||||
Shortcut for [`keyboard.down`](#keyboarddownkey-options) and [`keyboard.up`](#keyboardupkey).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user