Documentation
¶
Index ¶
- type Hook
- type LogLevel
- type Option
- func WithAdbPort(port int) Option
- func WithAppendLog() Option
- func WithBaseURL(url string) Option
- func WithLogLevel(ll LogLevel) Option
- func WithLogPath(path string) Option
- func WithPort(port int) Option
- func WithReadableTimestamp() Option
- func WithReplayable() Option
- func WithRunHook(hook Hook) Option
- func WithShowVersion() Option
- func WithSilent() Option
- func WithStderr(writer io.Writer) Option
- func WithStdout(writer io.Writer) Option
- func WithStopHook(hook Hook) Option
- func WithVerbose() Option
- func WithWhitelistedIps(ips []string) Option
- type Process
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(cd *Process)
func WithBaseURL ¶
WithBaseURL base URL path prefix for commands, e.g. wd/url
func WithLogLevel ¶
WithLogLevel log level: ALL, DEBUG, INFO, WARNING, SEVERE, OFF
func WithLogPath ¶
WithLogPath write server log to file instead of stderr
func WithReadableTimestamp ¶
func WithReadableTimestamp() Option
WithReadableTimestamp add readable timestamps to log
func WithReplayable ¶
func WithReplayable() Option
WithReplayable (experimental) log verbosely and don't truncate long strings so that the log can be replayed.
func WithRunHook ¶
func WithShowVersion ¶
func WithShowVersion() Option
WithShowVersion print the version number and exit
func WithStderr ¶
func WithStdout ¶
func WithStopHook ¶
func WithWhitelistedIps ¶
WithWhitelistedIps whitelist of remote IP addresses which are allowed to connect to ChromeDriver
Click to show internal directories.
Click to hide internal directories.