puppeteer/docs/api/puppeteer.pressoptions.md

19 lines
928 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
sidebar_label: PressOptions
---
# PressOptions interface
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
export interface PressOptions
```
## Properties
| Property | Modifiers | Type | Description | Default |
| ------------------------------------------- | --------- | ------ | ------------------------------------------------------------------------------------------------------------------ | ------- |
| [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. | |