* 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. * @return {!Options} A self reference.
(...args)
| 225 | */ |
| 226 | |
| 227 | addBrowserCommandSwitches(...args) { |
| 228 | let current = this.options_[Key.BROWSER_COMMAND_LINE_SWITCHES] || [] |
| 229 | if (typeof current == 'string') { |
| 230 | current = current.split(' ') |
| 231 | } |
| 232 | this.options_[Key.BROWSER_COMMAND_LINE_SWITCHES] = current.concat(args).join(' ') |
| 233 | return this |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * Specifies command-line switches to use when launching Internet Explorer. |