* Add additional extensions to install when launching the browser. Each extension * should be specified as the path to the packed CRX file, or a Buffer for an * extension. * @param {...(string|!Buffer|!Array<(string|!Buffer)>)} args The * extensions to add. * @return {!Options} A
(...args)
| 320 | * @return {!Options} A self reference. |
| 321 | */ |
| 322 | addExtensions(...args) { |
| 323 | let extensions = this.options_.extensions || new Extensions() |
| 324 | extensions.add(...args) |
| 325 | if (extensions.length) { |
| 326 | this.options_.extensions = extensions |
| 327 | } |
| 328 | return this |
| 329 | } |
| 330 | |
| 331 | /** |
| 332 | * Sets the path to the browser binary to use. On Mac OS X, this path should |
no test coverage detected