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

Method excludeSwitches

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

* List of Chrome command line switches to exclude that ChromeDriver by default * passes when starting Chrome. Do not prefix switches with "--". * * @param {...(string|!Array )} args The switches to exclude. * @return {!Options} A self reference.

(...args)

Source from the content-addressed store, hash-verified

304 * @return {!Options} A self reference.
305 */
306 excludeSwitches(...args) {
307 let switches = (this.options_.excludeSwitches || []).concat(...args)
308 if (switches.length) {
309 this.options_.excludeSwitches = switches
310 }
311 return this
312 }
313
314 /**
315 * Add additional extensions to install when launching the browser. Each extension

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected