Documentation ¶
Overview ¶
Package defaults holds some commonly used options parsed from env var "rod". Set them will set the default value of options used by rod. Each value is separated by a ",", key and value are separated by "=", For example:
rod=show,trace,slow,monitor rod=show,trace,slow=1s,port=9222,monitor=:9223
Index ¶
Constants ¶
View Source
const Version = "v0.27.4"
Version of Rod
Variables ¶
View Source
var CDP bool
CDP enables cdp log
View Source
var Dir string
Dir to store browser profile, such as cookies
View Source
var Monitor string
Monitor enables the monitor server that plays the screenshots of each tab, default value is 0.0.0.0:9273
View Source
var Port = "0"
Port of the remote debugging port
View Source
var Remote bool
Remote enables to launch browser remotely
View Source
var Show bool
Show disables headless mode
View Source
var Slow time.Duration
Slow enables slowmotion mode if not zero
View Source
var Trace bool
Trace enables trace
View Source
var URL = ""
URL of the remote debugging address
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.