mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
26 lines
556 B
Markdown
26 lines
556 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Keyboard](./puppeteer.keyboard.md) > [type](./puppeteer.keyboard.type.md)
|
||
|
|
||
|
## Keyboard.type() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
type(text: string, options: {
|
||
|
delay?: number;
|
||
|
}): Promise<void>;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| text | string | |
|
||
|
| options | { delay?: number; } | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Promise<void>
|
||
|
|