MCPcopy Create free account
hub / github.com/MMadmer/EpicAssetsNotifyBot / BrowserSource

Struct BrowserSource

internal/fab/browser_source.go:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23Object.defineProperty(navigator, 'languages', {get: () => ['en-US', 'en']});`
24
25type BrowserSource struct {
26 BrowserPath string
27 URL string
28 UserAgent string
29 Timeout time.Duration
30 PostLoadDelay time.Duration
31
32 mu sync.Mutex
33 pw *playwright.Playwright
34 browser playwright.Browser
35}
36
37func NewBrowserSource() (*BrowserSource, error) {
38 browserPath, err := resolveBrowserOverride()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected