Documentation
¶
Overview ¶
Package cftbrowser downloads and caches Chrome for Testing binaries from Google's official API (https://googlechromelabs.github.io/chrome-for-testing/).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureBrowser ¶
EnsureBrowser downloads and caches Chrome for Testing if not already present. Returns the path to the chrome binary. Progress goes to progressOut (stderr), never stdout.
func FindCachedBrowser ¶
FindCachedBrowser looks for an already-downloaded Chrome for Testing binary without making any network requests. Returns the binary path or an error.
func IsSupported ¶
func IsSupported() bool
IsSupported returns true if the current OS/arch has Chrome for Testing builds.
func PlatformKey ¶
PlatformKey returns the CfT platform string for the current OS/arch.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.