Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandMacros ¶
ExpandMacros expands the following macros in the filename: {TIMESTAMP} - current date and time in `YYYY-MM-DD-hh-mm-ss“ format
func SetDeviceMetricsOverride ¶
func SetDeviceMetricsOverride( remote *godet.RemoteDebugger, width int, height int, deviceScaleFactor float64, mobile bool, fitWindow bool, ) (err error)
SetDeviceMetricsOverride is a wrapper for `Emulation.setDeviceMetricsOverride` call (see https://chromedevtools.github.io/devtools-protocol/tot/Emulation#method-setDeviceMetricsOverride).
func StopOnError ¶
func StopOnError(err error)
StopOnError prints error to STDERR and exits with exit code 3
Types ¶
This section is empty.