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

Method addArguments

javascript/selenium-webdriver/ie.js:244–251  ·  view source on GitHub ↗

* Specifies command-line switches to use when launching Internet Explorer. * This is only valid when used with #forceCreateProcessApi. * * @param {...(string|!Array. )} args The arguments to add. * @deprecated Use #addBrowserCommandSwitches instead. * @return {!

(...args)

Source from the content-addressed store, hash-verified

242 */
243
244 addArguments(...args) {
245 let current = this.options_[Key.BROWSER_COMMAND_LINE_SWITCHES] || []
246 if (typeof current == 'string') {
247 current = current.split(' ')
248 }
249 this.options_[Key.BROWSER_COMMAND_LINE_SWITCHES] = current.concat(args).join(' ')
250 return this
251 }
252
253 /**
254 * Configures whether proxies should be configured on a per-process basis. If

Callers 2

GetBrowserForTestsFunction · 0.95
builderMethod · 0.95

Calls 3

splitMethod · 0.80
joinMethod · 0.80
concatMethod · 0.45

Tested by

no test coverage detected