Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method Mouse.prototype.click
import { Mouse } from "https://deno.land/x/puppeteer@16.2.0/vendor/puppeteer-core/puppeteer/common/Input.d.ts";

Shortcut for mouse.move, mouse.down and mouse.up.

Parameters

x: number
  • Horizontal position of the mouse.
y: number
  • Vertical position of the mouse.
optional
options: MouseOptions & { delay?: number; }
  • Optional MouseOptions.

Returns

Promise<void>