mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: implement click count (#10069)
This commit is contained in:
@@ -7,14 +7,13 @@ sidebar_label: ClickOptions
|
||||
#### Signature:
|
||||
|
||||
```typescript
|
||||
export interface ClickOptions
|
||||
export interface ClickOptions extends MouseClickOptions
|
||||
```
|
||||
|
||||
**Extends:** [MouseClickOptions](./puppeteer.mouseclickoptions.md)
|
||||
|
||||
## Properties
|
||||
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| ---------- | --------------------- | ----------------------------------------- | ------------------------------------------------------------------------------------- | -------------- |
|
||||
| button | <code>optional</code> | [MouseButton](./puppeteer.mousebutton.md) | | 'left' |
|
||||
| clickCount | <code>optional</code> | number | | <code>1</code> |
|
||||
| delay | <code>optional</code> | number | Time to wait between <code>mousedown</code> and <code>mouseup</code> in milliseconds. | <code>0</code> |
|
||||
| offset | <code>optional</code> | [Offset](./puppeteer.offset.md) | Offset for the clickable point relative to the top-left corner of the border box. | |
|
||||
| Property | Modifiers | Type | Description | Default |
|
||||
| -------- | --------------------- | ------------------------------- | --------------------------------------------------------------------------------- | ------- |
|
||||
| offset | <code>optional</code> | [Offset](./puppeteer.offset.md) | Offset for the clickable point relative to the top-left corner of the border box. | |
|
||||
|
||||
Reference in New Issue
Block a user