MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / setLoggingPrefs

Method setLoggingPrefs

javascript/selenium-webdriver/index.js:405–408  ·  view source on GitHub ↗

* Sets the logging preferences for the created session. Preferences may be * changed by repeated calls, or by calling #withCapabilities. * @param {!(./lib/logging.Preferences|Object )} prefs The * desired logging preferences. * @return {!Builder} A self referen

(prefs)

Source from the content-addressed store, hash-verified

403 * @return {!Builder} A self reference.
404 */
405 setLoggingPrefs(prefs) {
406 this.capabilities_.setLoggingPrefs(prefs)
407 return this
408 }
409
410 /**
411 * Sets the default action to take with an unexpected alert before returning

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected