mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
a63b8305ac
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
83 lines
775 B
Markdown
83 lines
775 B
Markdown
---
|
|
sidebar_label: MouseOptions
|
|
---
|
|
|
|
# MouseOptions interface
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export interface MouseOptions
|
|
```
|
|
|
|
## Properties
|
|
|
|
<table><thead><tr><th>
|
|
|
|
Property
|
|
|
|
</th><th>
|
|
|
|
Modifiers
|
|
|
|
</th><th>
|
|
|
|
Type
|
|
|
|
</th><th>
|
|
|
|
Description
|
|
|
|
</th><th>
|
|
|
|
Default
|
|
|
|
</th></tr></thead>
|
|
<tbody><tr><td>
|
|
|
|
button
|
|
|
|
</td><td>
|
|
|
|
`optional`
|
|
|
|
</td><td>
|
|
|
|
[MouseButton](./puppeteer.mousebutton.md)
|
|
|
|
</td><td>
|
|
|
|
Determines which button will be pressed.
|
|
|
|
</td><td>
|
|
|
|
`'left'`
|
|
|
|
</td></tr>
|
|
<tr><td>
|
|
|
|
clickCount
|
|
|
|
</td><td>
|
|
|
|
`optional, deprecated`
|
|
|
|
</td><td>
|
|
|
|
number
|
|
|
|
</td><td>
|
|
|
|
Determines the click count for the mouse event. This does not perform multiple clicks.
|
|
|
|
**Deprecated:**
|
|
|
|
Use [MouseClickOptions.count](./puppeteer.mouseclickoptions.count.md).
|
|
|
|
</td><td>
|
|
|
|
`1`
|
|
|
|
</td></tr>
|
|
</tbody></table>
|