Browser.installExtension() method
Installs an extension and returns the ID. In Chrome, this is only available if the browser was created using pipe: true
and the --enable-unsafe-extension-debugging
flag is set.
Signature
class Browser {
abstract installExtension(path: string): Promise<string>;
}
Parameters
Parameter | Type | Description |
---|---|---|
path | string |
Returns:
Promise<string>