docs(keyboard): clarify how page.type works for non-US characters (#6273)
This commit is contained in:
parent
83480850d3
commit
abb61456d1
|
|
@ -286,6 +286,10 @@ page.keyboard.type("World", delay=100) # types slower, like a user
|
|||
Modifier keys DO NOT effect `keyboard.type`. Holding down `Shift` will not type the text in upper case.
|
||||
:::
|
||||
|
||||
:::note
|
||||
For characters that are not on a US keyboard, only an `input` event will be sent.
|
||||
:::
|
||||
|
||||
### param: Keyboard.type.text
|
||||
- `text` <[string]>
|
||||
|
||||
|
|
|
|||
1
types/types.d.ts
vendored
1
types/types.d.ts
vendored
|
|
@ -9583,6 +9583,7 @@ export interface Keyboard {
|
|||
* ```
|
||||
*
|
||||
* > NOTE: Modifier keys DO NOT effect `keyboard.type`. Holding down `Shift` will not type the text in upper case.
|
||||
* > NOTE: For characters that are not on a US keyboard, only an `input` event will be sent.
|
||||
* @param text A text to type into a focused element.
|
||||
* @param options
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue