6657364364
* docs(new): migrate ElementHandle to TSDoc Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
27 lines
629 B
Markdown
27 lines
629 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Keyboard](./puppeteer.keyboard.md) > [press](./puppeteer.keyboard.press.md)
|
|
|
|
## Keyboard.press() method
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
press(key: KeyInput, options?: {
|
|
delay?: number;
|
|
text?: string;
|
|
}): Promise<void>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| key | [KeyInput](./puppeteer.keyinput.md) | |
|
|
| options | { delay?: number; text?: string; } | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<void>
|
|
|