Versions in this module Expand all Collapse all v0 v0.5.0 Mar 23, 2026 Changes in this version + func FindSystemChrome() (string, error) + func GetCacheDir() (string, error) + func GetChromeDir() (string, error) + func GetChromePath(version string) (string, error) + func IsInstalled() bool + func Uninstall() error + func Version() string + type Browser struct + func Launch(ctx context.Context, opts *Options) (*Browser, error) + func LaunchHeadless(ctx context.Context) (*Browser, error) + func MustLaunch(ctx context.Context, opts *Options) *Browser + func (b *Browser) Port() int + func (b *Browser) Stop() error + func (b *Browser) Wait() error + func (b *Browser) WebSocketURL() string + type Download struct + Platform string + URL string + type InstallResult struct + ChromePath string + Version string + func Install() (*InstallResult, error) + type LastKnownGoodResponse struct + Channels map[string]VersionInfo + type Options struct + Args []string + AutoInstall *bool + ExecutablePath string + Headless bool + Port int + UserDataDir string + type Platform string + const PlatformLinux64 + const PlatformMacArm64 + const PlatformMacX64 + const PlatformWin32 + const PlatformWin64 + func GetPlatform() Platform + type VersionInfo struct + Downloads map[string][]Download + Version string