mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
19 lines
764 B
Markdown
19 lines
764 B
Markdown
---
|
|
sidebar_label: PressOptions
|
|
---
|
|
|
|
# PressOptions interface
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export interface PressOptions
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Modifiers | Type | Description | Default |
|
|
| -------- | --------------------- | ------ | ------------------------------------------------------------------------------------------------ | ------- |
|
|
| delay | <code>optional</code> | number | Time to wait between <code>keydown</code> and <code>keyup</code> in milliseconds. Defaults to 0. | |
|
|
| text | <code>optional</code> | string | If specified, generates an input event with this text. | |
|