puppeteer/docs/api/puppeteer.mouse.reset.md
2023-06-12 17:59:28 +00:00

251 B

sidebar_label
Mouse.reset

Mouse.reset() method

Resets the mouse to the default state: No buttons pressed; position at (0,0).

Signature:

class Mouse {
  reset(): Promise<void>;
}

Returns:

Promise<void>