claude-mac-chrome — Chrome automation for Claude Code on macOS
Drives React/Ember SPAs that reject synthetic events, by sending real OS pointer events at computed screen coordinates.
The problem
LinkedIn, Calendly, and Upwork single-page apps gate programmatic clicks via `event.isTrusted === true`. Browser extensions can't bypass it; Playwright via remote-debugging-port works but disrupts the user session.
The solution
macOS-native automation: cliclick at computed screen coords (window bounds + viewport rect) sends real OS pointer events with isTrusted=true. Chrome profile detection via Local State JSON. AppleScript orchestrates window + tab focus. Combined with pbcopy + Cmd+V for React contenteditable input.
Overview
Reads Chrome's Local State authoritative profile catalog and matches profiles to open windows via emails embedded in tab titles. Stable window/tab IDs across opens. Combined with cliclick + pbcopy, it drives single-page apps that reject programmatic events.