Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Mouse#move

Headless Chrome Deno API
Latest
method Mouse.prototype.move
Re-export
import { Mouse } from "https://deno.land/x/pptr@1.2.0/mod.ts";

Dispatches a mousemove event.

Parameters

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

Returns

Promise<void>