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

Method loggingTo

javascript/selenium-webdriver/chromium.js:192–194  ·  view source on GitHub ↗

* Sets the path of the log file the driver should log to. If a log file is * not specified, the driver will log to stderr. * @param {string} path Path of the log file to use. * @return {!ServiceBuilder} A self reference.

(path)

Source from the content-addressed store, hash-verified

190 * @return {!ServiceBuilder} A self reference.
191 */
192 loggingTo(path) {
193 return this.addArguments('--log-path=' + path)
194 }
195
196 /**
197 * Enables Chrome logging.

Callers

nothing calls this directly

Calls 1

addArgumentsMethod · 0.45

Tested by

no test coverage detected