Back to Puppeteer

MouseOptions interface

website/versioned_docs/version-24.40.0/api/puppeteer.mouseoptions.md

19.2.2789 B
Original Source

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>

<span id="button">button</span>

</td><td>

optional

</td><td>

MouseButton

</td><td>

Determines which button will be pressed.

</td><td>

'left'

</td></tr> <tr><td>

<span id="clickcount">clickCount</span>

</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.

</td><td>

1

</td></tr> </tbody></table>