mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: implement Bidi keyboard (#10417)
This commit is contained in:
@@ -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<[TypeOptions](./puppeteer.typeoptions.md)> | _(Optional)_ Delay in milliseconds. Defaults to 0. |
|
||||
| Parameter | Type | Description |
|
||||
| --------- | ------------------------------------------------------------------------- | -------------------------------------------------- |
|
||||
| text | string | |
|
||||
| options | Readonly<[KeyboardTypeOptions](./puppeteer.keyboardtypeoptions.md)> | _(Optional)_ Delay in milliseconds. Defaults to 0. |
|
||||
|
||||
**Returns:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user