MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / addArguments

Method addArguments

javascript/selenium-webdriver/firefox.js:287–293  ·  view source on GitHub ↗

* Specify additional command line arguments that should be used when starting * the Firefox browser. * * @param {...(string|!Array )} args The arguments to include. * @return {!Options} A self reference.

(...args)

Source from the content-addressed store, hash-verified

285 * @return {!Options} A self reference.
286 */
287 addArguments(...args) {
288 if (args.length) {
289 let options = this.firefoxOptions_()
290 options.args = options.args ? options.args.concat(...args) : args
291 }
292 return this
293 }
294
295 /**
296 * Sets the initial window size

Callers 2

windowSizeMethod · 0.95
enableVerboseLoggingMethod · 0.45

Calls 2

firefoxOptions_Method · 0.95
concatMethod · 0.45

Tested by

no test coverage detected