chrome

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExecAllocator

func NewExecAllocator(ctx context.Context, cfg Config) (context.Context, context.CancelFunc)

NewExecAllocator returns a new context setup with a chromedp.ExecAllocator. Its `context.Context` return value can be used to create subsequent contexts for interacting with an allocated Chrome browser.

Types

type Config

type Config struct {
	ProxyServer      string
	ProxyBypassHosts []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL