Versions in this module Expand all Collapse all v0 v0.0.82 May 9, 2025 Changes in this version + type BrowserSettings struct + BlockAds bool + LogSession bool + RecordSession bool + SolveCaptchas bool + type Client struct + APIKey string + ConnectionURL string + Options *Options + ProjectID string + Sessions []*Session + URL string + func NewBrowserbaseClient(apiKey string, projectID string, options *Options) *Client + func (b *Client) CloseAllSessions(ctx context.Context) error + func (b *Client) CloseSession(ctx context.Context, sessionID string) error + func (b *Client) ConnectionString(session Session) string + func (b *Client) CreateSession(ctx context.Context) (*Session, error) + type CloseSessionRequest struct + ProjectID string + Status string + type CreateSessionRequest struct + BrowserSettings BrowserSettings + ProjectID string + Proxies []Proxy + type Geolocation struct + City string + Country string + State string + type Option interface + func WithProxy() Option + func WithProxyCountries(countries []string) Option + type Options struct + Countries []string + Proxy bool + func NewBrowserbaseOptions(ctx context.Context, opts ...Option) *Options + type PageCapturer struct + Capturer *headless.BrowserPageCapturer + Client Client + func NewBrowserbasePageCapturer(ctx context.Context, timeout int, minDOMStabalizeTime int, ...) *PageCapturer + func (b *PageCapturer) Capture(ctx context.Context, url string, options *headless.BrowserOptions) (*common.RequestInfo, error) + func (b *PageCapturer) Close(ctx context.Context) error + type Proxy struct + Geolocation *Geolocation + Type string + type ProxyCountryOption struct + Countries []string + type ProxyOption struct + Proxy bool + type Session struct + ContextID string + ID string + Status string