Versions in this module Expand all Collapse all v0 v0.1.1 Nov 20, 2026 v0.1.0 Nov 12, 2026 Changes in this version + const DefaultTarget + var ErrCDPUnavailable = errors.New("Chrome DevTools unavailable (start Chrome with --remote-debugging-port=9222)") + func ResolveTarget(target string) (string, error) + type Client struct + func Connect(ctx context.Context, target string) (*Client, error) + func (c *Client) Close() error + func (c *Client) Endpoint() string + func (c *Client) SetCookies(ctx context.Context, cookies []CookieParam) (int, error) + type CookieConversion struct + Cookies []CookieParam + Skipped int + func CookiesToParams(stored []auth.StoredCookie) CookieConversion + type CookieParam struct + Domain string + Expires *float64 + HTTPOnly bool + Name string + Path string + SameSite string + Secure bool + URL string + Value string + type SyncResult struct + Attempted int + CDP string + Set int + Skipped int + func SyncCookies(ctx context.Context, sessionFile, target string) (*SyncResult, error)