import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { EmulateTouchFromMouseEventRequest } = Protocol.Input;
Properties
Type of the mouse event. (EmulateTouchFromMouseEventRequestType enum)
x: integer
X coordinate of the mouse pointer in DIP.
y: integer
Y coordinate of the mouse pointer in DIP.
button: MouseButton
Mouse button. Only "none", "left", "right" are supported.
optional
timestamp: TimeSinceEpochTime at which the event occurred (default: current time).
optional
modifiers: integerBit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).
optional
clickCount: integerNumber of times the mouse button was clicked (default: 0).