Documentation
¶
Overview ¶
Package browserpath resolves the Chrome/Chromium/Edge executable that chromedp should launch.
chromedp can discover a browser on its own, but its search is not uniform across platforms: on Windows it looks for Chrome and Chromium but never a discovered Edge installation. Suites that need Edge — the only browser present on a stock Windows box — therefore have to resolve the executable themselves and pass it via chromedp.ExecPath.
Resolving explicitly on one platform and letting chromedp guess on the others is how the macOS gap appeared: a PATH-only lookup finds nothing, because Chrome on macOS installs to /Applications/Google Chrome.app and is not on PATH. The whole point of this package is that detection and launch share one code path on every OS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.