Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowserSettings ¶
type Client ¶
type Client struct {
APIKey string
URL string
ConnectionURL string
ProjectID string
Sessions []*Session
Options *Options
}
func NewBrowserbaseClient ¶
func (*Client) CloseSession ¶
func (*Client) ConnectionString ¶
type CloseSessionRequest ¶
type CreateSessionRequest ¶
type CreateSessionRequest struct {
ProjectID string `json:"projectId,omitempty"`
BrowserSettings BrowserSettings `json:"browserSettings,omitempty"`
Proxies []Proxy `json:"proxies,omitempty"`
}
type Geolocation ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func WithProxyCountries ¶
type Proxy ¶
type Proxy struct {
Type string `json:"type"`
Geolocation *Geolocation `json:"geolocation,omitempty"`
}
type ProxyCountryOption ¶
type ProxyCountryOption struct {
Countries []string
}
type ProxyOption ¶
type ProxyOption struct {
Proxy bool
}
Click to show internal directories.
Click to hide internal directories.