hover_sequence
Move the macOS pointer through hover waypoints without clicking. Useful for hovering over inaccessible canvas, WebGL, or native UI elements.
Instructions
Move the macOS pointer through hover/unhover points without clicking.
This is the preferred hover fallback for canvas-style, WebGL, native, or
otherwise inaccessible pages where Playwright cannot target DOM elements.
It posts only mouse-move events and does not click.
Pass app_name to activate the target app immediately before the hover
sequence. steps_per_segment controls interpolation density and
step_delay_seconds controls the pause between generated points.
The response includes moved_count and final position fields from pointer
movement. When app_name is provided, active_window contains the visibility
check result used before moving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | List of waypoints in macOS screen-point coordinates (origin top-left). Each item must be a {"x": number, "y": number} dict OR a [x, y] pair. | |
| hold_seconds | No | Pause at each waypoint after arrival. Default 0.5s. | |
| app_name | No | macOS app to activate before moving. Omit if no activation needed. | |
| steps_per_segment | No | Interpolation density between successive waypoints. Default 12. | |
| step_delay_seconds | No | Pause between interpolated micro-steps. Default 0.02s. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||