puppeteer/website/versioned_docs/version-18.2.1/api/puppeteer.pressoptions.md
2022-10-06 12:22:55 +02:00

19 lines
887 B
Markdown

---
sidebar_label: PressOptions
---
# PressOptions interface
**Signature:**
```typescript
export interface PressOptions
```
## Properties
| Property | Modifiers | Type | Description |
| ------------------------------------------- | --------- | ------ | ------------------------------------------------------------------------------------------------------------------ |
| [delay?](./puppeteer.pressoptions.delay.md) | | number | <i>(Optional)</i> Time to wait between <code>keydown</code> and <code>keyup</code> in milliseconds. Defaults to 0. |
| [text?](./puppeteer.pressoptions.text.md) | | string | <i>(Optional)</i> If specified, generates an input event with this text. |