Documentation
¶
Overview ¶
Package browser resolves which Chrome binary cu should drive over CDP and, when the host has none, fetches a pinned Chrome for Testing build.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocatorOptions ¶
func AllocatorOptions() []chromedp.ExecAllocatorOption
AllocatorOptions returns exec-allocator options with a resolved Chrome applied. With no resolved path chromedp keeps its own default search.
func Detect ¶
func Detect() string
Detect returns a system Chrome path, or "" when the host has none.
func Download ¶
Download fetches the stable Chrome for Testing build for this host and unpacks it under ManagedDir. It reports progress to w and returns the executable path.
func Managed ¶
func Managed() string
Managed returns the previously downloaded Chrome, or "" when absent.
func ManagedDir ¶
ManagedDir is where an opt-in Chrome for Testing download is unpacked.
Types ¶
This section is empty.