Move the cursor to coordinates or a CSS selector, dispatching interpolated mousemove events so hover-based UI fires correctly.
mousemove events along a straight line from the cursor’s previous position to the target, so the DOM sees a realistic mouseenter / mousemove / mouseleave cascade on every element the cursor passes over. The endpoint supports two modes:
(x, y) in viewport CSS pixels.(x, y) or selector, never both.
y when selector is omitted.x when selector is omitted.x/y. Moves to the center of the element’s bounding box.Shift, Control, Alt, Meta.1 teleports — useful for deterministic tests, but does not fire mouseenter / mousemove on elements in between. Capped at 100.durationMs / steps.| Status | Description |
|---|---|
400 | Invalid body — both modes provided, neither provided, steps/durationMs out of range, bad modifier. |
401 | Unauthorized — invalid or missing API key. |
404 | Session not found, or selector did not become visible before timeout. |
503 | The browser session is temporarily unreachable. |
(0, 0)). A subsequent mouse/click at a different coord will also update the tracked position, so chained move → click → move flows look continuous.mouseenter and mouseleave fire on every element the cursor crosses, along with intermediate mousemove events — necessary for hover-activated menus, tooltips, and many :hover CSS effects.steps: 1, durationMs: 0 to teleport. For scraping hover-triggered UI, stick with the defaults.