selenium-webdriver/chromium~ Extensions

A list of extensions to install when launching the browser.

Constructor

new Extensions()

Members

length

Methods

Symbols.serialize() → (non-null) {Object}

Returns:

A serialized representation of this Extensions object.

Type: 
Object

add(…args)

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.

Parameters:
NameTypeAttributesDescription
argsstring | Buffer | !Array.<(string|!Buffer)><repeatable>

The extensions to add.