From dc0cbecdd290cc6bee2258ecad73047c40e95845 Mon Sep 17 00:00:00 2001 From: dylanwongtencent Date: Tue, 21 Jul 2026 16:04:24 -0700 Subject: [PATCH] browser: fix macOS Chrome discovery and timeout=/url= prefix-stacking crash Two real, live-hit bugs in the native CDP browser verb: 1. find_chrome() only ever checked /usr/bin/google-chrome+chromium (Linux) or Program Files (Windows), with no macOS app-bundle path -- every browser dispatch on a stock macOS install with Chrome only on PATH via nothing (a normal Chrome.app install adds nothing to PATH) failed with "no Chrome found; install Google Chrome or Chromium". Adds the standard system-wide and per-user /Applications/*.app/Contents/MacOS/* candidates (Chrome + Chromium for parity with the existing Linux chromium fallback), purely additive -- existing Linux/Windows/PATH checks are untouched. 2. Stacking a `timeout=` prefix line in front of `url=` (e.g. `timeout=30000\nurl=http://x/\n