Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAllocator ¶
func NewAllocator(flags map[string]interface{}, env []string) allocation.Allocator
func NewBrowserType ¶
func NewBrowserType(ctx context.Context) api.BrowserType
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
func (*Allocator) Allocate ¶
func (a *Allocator) Allocate(ctx context.Context, launchOpts *common.LaunchOptions) (*common.BrowserProcess, error)
Allocate starts a new local browser process
type BrowserType ¶
type BrowserType struct { Ctx context.Context CancelFn context.CancelFunc // contains filtered or unexported fields }
func (*BrowserType) Connect ¶
func (b *BrowserType) Connect(opts goja.Value)
func (*BrowserType) ExecutablePath ¶
func (b *BrowserType) ExecutablePath() string
func (*BrowserType) Launch ¶
func (b *BrowserType) Launch(opts goja.Value) api.Browser
Launch creates a new client to remote control a Chrome browser.
func (*BrowserType) LaunchPersistentContext ¶
func (*BrowserType) Name ¶
func (b *BrowserType) Name() string
Click to show internal directories.
Click to hide internal directories.