package
0.0.0-20200525081248-c579b4054dc3
Repository: https://github.com/bootgo/chromedp.git
Documentation: pkg.go.dev
# Functions
CmdOpt is a command line option to modify the underlying exec.Cmd prior to the call to exec.Cmd.Start in Run.
DisableGPU is the command line option to disable the GPU process.
ExecPath is a command line option to set the exec path.
Flag is a generic command line option to pass a name=value flag to Chrome.
ForceKill is a Chrome command line option that forces Chrome to be killed when the parent is killed.
Headless is the command line option to run in headless mode.
KillProcessGroup is a Chrome command line option that will instruct the invoked child Chrome process to terminate when the parent process (ie, the Go application) dies.
LimitCoreDump is a Chrome command line option to set the soft core dump limit for a running Chrome process.
LimitMemory is a Chrome command line option to set the soft memory limit for a running Chrome process.
LookChromeNames looks for the platform's DefaultChromeNames and any additional names using exec.LookPath, returning the first encountered location or the platform's DefaultChromePath if no names are found on the path.
New creates a new Chrome process using the supplied command line options.
NoDefaultBrowserCheck is the Chrome comamnd line option to disable the default browser check.
NoFirstRun is the Chrome comamnd line option to disable the first run dialog.
NoSandbox is the Chrome comamnd line option to disable the sandbox.
Path sets the path to the Chrome executable and sets default run options for Chrome.
ProcessOpt is a command line option to modify the child os.Process after the call to exec.Cmd.Start in Run.
ProxyServer is the command line option to set the outbound proxy server.
RemoteDebuggingPort is the command line option to set the remote debugging port.
Rlimit is a Chrome command line option to set the soft rlimit value for res on a running Chrome process.
Run starts a new Chrome process runner, using the provided context and command line options.
URL is the command line option to add a URL to open on process start.
UserAgent is the command line option to set the default User-Agent header.
UserDataDir is the command line option to set the user data dir.
WindowSize is the command line option to set the initial window size.
# Constants
ByteCount values.
DefaultChromePath is the default path to use for Chrome if the executable is not in $PATH.
DefaultUserDataDirPrefix is the default user data directory prefix.
ErrAlreadyStarted is the already started error.
ErrAlreadyWaiting is the already waiting error.
ErrInvalidCmdOpts is the invalid cmd-opts error.
ErrInvalidExecPath is the invalid exec-path error.
ErrInvalidProcessOpts is the invalid process-opts error.
ErrInvalidURLs is the invalid url-opts error.
ByteCount values.
ByteCount values.
ByteCount values.
# Variables
DefaultChromeNames are the default Chrome executable names to look for in $PATH.
# Type aliases
ByteCount is a type byte count const.
CommandLineOption is a runner command line option.
Error is a runner error.