chore: implement Bidi keyboard (#10417)

This commit is contained in:
jrandolf
2023-06-19 17:44:39 +02:00
committed by GitHub
parent 769dd593ab
commit 3ba7fba838
19 changed files with 510 additions and 80 deletions

View File

@@ -12,16 +12,16 @@ To press a special key, like `Control` or `ArrowDown`, use [ElementHandle.press(
```typescript
class ElementHandle {
type(text: string, options?: Readonly<TypeOptions>): Promise<void>;
type(text: string, options?: Readonly<KeyboardTypeOptions>): Promise<void>;
}
```
## Parameters
| Parameter | Type | Description |
| --------- | --------------------------------------------------------- | -------------------------------------------------- |
| text | string | |
| options | Readonly&lt;[TypeOptions](./puppeteer.typeoptions.md)&gt; | _(Optional)_ Delay in milliseconds. Defaults to 0. |
| Parameter | Type | Description |
| --------- | ------------------------------------------------------------------------- | -------------------------------------------------- |
| text | string | |
| options | Readonly&lt;[KeyboardTypeOptions](./puppeteer.keyboardtypeoptions.md)&gt; | _(Optional)_ Delay in milliseconds. Defaults to 0. |
**Returns:**