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

Dispatches a mousemove event.

Parameters

x: number
  • Horizontal position of the mouse.
y: number
  • Vertical position of the mouse.
optional
options: { steps?: number; }
  • Optional object. If specified, the steps property sends intermediate mousemove events when set to 1 (default).

Returns

Promise<void>