Documentation
¶
Overview ¶
Package browser resolves which Chromium-family browser Pando should drive.
It is deliberately dependency-free (stdlib only) and shared: the browser_* agent tools and the design renderer both need to find a browser, and neither package may import the other.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRemoteBrowserType ¶
IsRemoteBrowserType returns true for browser types that act as CDP servers (launched separately and connected to via WebSocket) rather than local executables.
func NormalizeBrowserType ¶
Types ¶
type BrowserInstall ¶
type BrowserInstall struct {
Type string `json:"type"`
Label string `json:"label"`
Executable string `json:"executable"`
UserDataDir string `json:"userDataDir,omitempty"`
ProfileDir string `json:"profileDir,omitempty"`
}
func DetectInstalledBrowsers ¶
func DetectInstalledBrowsers() []BrowserInstall
func ResolveBrowserInstall ¶
func ResolveBrowserInstall(browserType, executable string) (BrowserInstall, bool)
Click to show internal directories.
Click to hide internal directories.