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

Method addArguments

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

* Add additional command line arguments to use when launching the browser. * Each argument may be specified with or without the "--" prefix * (e.g. "--foo" and "foo"). Arguments with an associated value should be * delimited by an "=": "foo=bar". * * @param {...(string|!Array )

(...args)

Source from the content-addressed store, hash-verified

256 * @return {!Options} A self reference.
257 */
258 addArguments(...args) {
259 let newArgs = (this.options_.args || []).concat(...args)
260 if (newArgs.length) {
261 this.options_.args = newArgs
262 }
263 return this
264 }
265
266 /**
267 * Sets the address of a Chromium remote debugging server to connect to.

Callers 7

windowSizeMethod · 0.95
setAdbPortMethod · 0.45
loggingToMethod · 0.45
enableChromeLoggingMethod · 0.45
enableVerboseLoggingMethod · 0.45
setNumHttpThreadsMethod · 0.45
setPathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected