Versions in this module Expand all Collapse all v1 v1.5.34 Feb 5, 2023 Changes in this version + const AllHTTP + const AllHTTPS + const AllURLs + const FetchManifestJS + const WebRequest + const WebRequestBlocking + var ErrTargetNotFound = errors.New("target not found") + func DumpCookies(curse *core.CursedProcess, webSocketURL string) ([]*network.Cookie, error) + func ExecuteJS(ctx context.Context, string, targetID string, jsCode string) ([]byte, error) + func GetChromeContext(webSocketURL string, curse *core.CursedProcess) (context.Context, context.CancelFunc, context.CancelFunc) + func Screenshot(curse *core.CursedProcess, webSocketURL string, targetID string, quality int64) ([]byte, error) + func SetCookie(curse *core.CursedProcess, webSocketURL string, host string, cookies ...string) (string, error) + type ChromeDebugTarget struct + Description string + DevToolsFrontendURL string + ID string + Title string + Type string + URL string + WebSocketDebuggerURL string + func FindExtensionWithPermissions(curse *core.CursedProcess, permissions []string) (*ChromeDebugTarget, error) + func FindExtensionsWithPermissions(curse *core.CursedProcess, permissions []string) ([]*ChromeDebugTarget, error) + func QueryDebugTargets(debugURL string) ([]ChromeDebugTarget, error) + func QueryExtensionDebugTargets(debugURL string) ([]ChromeDebugTarget, error) + type Manifest struct + Background ManifestBackground + Description string + ManifestVersion int + Name string + Permissions []string + Version string + type ManifestBackground struct + Persistent bool + Scripts []string v1.2.8-test Feb 5, 2023