* 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)
| 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 |
no test coverage detected