puppeteer/website/versioned_docs/version-19.8.0/api/puppeteer.pressoptions.md

19 lines
908 B
Markdown
Raw Normal View History

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