Skip to main content

SendMouseMoveEvent

Client-side function

JavaScript​

Simulates mouse movement at the specified coordinates within the browser.

Required Params​

  • x: Number - X-coordinate of the mouse movement.
  • y: Number - Y-coordinate of the mouse movement.

Return Value​

  • void void

Syntax​

browser.sendMouseMoveEvent(x, y);

Example​

Client-Side

// Example: Simulating mouse movement to (500, 400).
browser.sendMouseMoveEvent(500, 400);