Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method Mouse.prototype.move
Re-export
import { Mouse } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.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>