Dev.to
6/25/2026

My tool said "clicked." Safari never saw it. macOS 26 quietly broke a system API.
Short summary
macOS 26 silently broke CGEvent-based native clicks for Safari automation—the API returns success but the click never reaches WebContent, leaving developers hunting phantom permission bugs. The author's fix adds a macOS version check to their MCP server's diagnostics, surfacing the limitation in one line instead of requiring a weekend of debugging. The lesson: platform APIs that silently succeed are worse than those that fail loudly; always surface environmental context in diagnostics.
- •macOS 26 regression: native CGEvent clicks silently fail with no error signal
- •Root cause: tightened WebContent process event delivery semantics in Tahoe
- •Solution: diagnostic tool that surfaces OS version to prevent multi-hour debugging hunts
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



