browser_os_click_ref
Clicks a page element by reference using a real OS mouse event, enabling interaction with elements that ignore synthetic clicks.
Instructions
Click a page element by ref with a REAL, OS-trusted mouse event (for elements that ignore synthetic clicks). Computes the element's on-screen position via the connected browser, raises its window, then clicks. On Firefox coordinates are exact; on Chrome they are approximate (refused unless allowApproximate is set) and iframe elements are not supported. macOS only; needs cliclick + Accessibility permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| count | No | ||
| button | No | ||
| allowApproximate | No | Chrome only: opt in to clicking at APPROXIMATE screen coordinates (no exact viewport-origin API exists there). Only set this after visually confirming the window is a normal browser window (no docked devtools/sidebar), because the real OS click lands wherever the estimate says. |