Documentation
¶
Overview ¶
Package browser gives the agent a real browser via the Chrome DevTools Protocol (chromedp): it attaches to the user's running Chrome/Chromium/ Brave when a DevTools port is open, otherwise launches a managed instance — visible by default, so the user can watch the agent work. Build with -tags nobrowser to strip the whole suite from the binary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindBrowserBinary ¶
FindBrowserBinary locates a Chromium-family binary.
Types ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
Session lazily owns one browser connection shared by all browser tools.
func NewSession ¶
func NewSession(cfg config.BrowserConfig, workspace string) *Session
Click to show internal directories.
Click to hide internal directories.