MCPcopy Index your code
hub / github.com/tebeka/selenium / SetDebug

Function SetDebug

common.go:11–13  ·  view source on GitHub ↗

SetDebug sets debug mode

(debug bool)

Source from the content-addressed store, hash-verified

9
10// SetDebug sets debug mode
11func SetDebug(debug bool) {
12 debugFlag = debug
13}
14
15func debugLog(format string, args ...interface{}) {
16 if !debugFlag {

Callers 5

ExampleFunction · 0.92
TestChromeFunction · 0.85
TestHTMLUnitFunction · 0.85
runFirefoxTestsFunction · 0.85
TestSauceFunction · 0.85

Calls

no outgoing calls

Tested by 5

ExampleFunction · 0.74
TestChromeFunction · 0.68
TestHTMLUnitFunction · 0.68
runFirefoxTestsFunction · 0.68
TestSauceFunction · 0.68