Back to Puppeteer

Mouse.down() method

docs/api/puppeteer.mouse.down.md

19.2.2485 B
Original Source

Mouse.down() method

Presses the mouse.

Signature

typescript
class Mouse {
  abstract down(options?: Readonly<MouseOptions>): Promise<void>;
}

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

options

</td><td>

Readonly<MouseOptions>

</td><td>

(Optional) Options to configure behavior.

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

Returns:

Promise<void>