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

Method add

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

* 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.

(...args)

Source from the content-addressed store, hash-verified

583 * extensions to add.
584 */
585 add(...args) {
586 this.extensions = this.extensions.concat(...args)
587 }
588
589 /**
590 * @return {!Object} A serialized representation of this Extensions object.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected