{"modulePath":"github.com/luispater/anyAIProxyAPI","version":"v1.2.3","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package browser\n\n## Types\n\n```go\ntype Manager struct {\n\tBrowser playwright.Browser\n\tContext playwright.BrowserContext\n\tCfg     *config.AppConfig\n\t// contains filtered or unexported fields\n}\n```\nManager holds the Playwright instance, browser instance, and browser context.\n\n```go\nfunc NewManager(cfg *config.AppConfig, cfgIndex int) (*Manager, error)\n```\nNewManager creates a new browser manager.\n\n```go\nfunc (m *Manager) Close() error\n```\nClose stops the Playwright instance and closes the browser and context.\n\n```go\nfunc (m *Manager) LaunchBrowserAndContext() error\n```\nLaunchBrowserAndContext launches the configured browser and creates a new context with storage state.\n\n```go\nfunc (m *Manager) NewPage() (playwright.Page, error)\n```\nNewPage creates a new browser page from the existing context.\n\n","path":"github.com/luispater/anyAIProxyAPI/internal/browser","name":"browser","synopsis":"","isRedistributable":true}
