Downloads and unpacks the browser archive according to the InstallOptions.
export declare function install(
options: InstallOptions & {
unpack?: true;
},
): Promise<InstalledBrowser>;
Parameter | Type | Description |
---|---|---|
options | [InstallOptions](./browsers.installoptions.md) & { unpack?: true; } |
Returns:
Promise<InstalledBrowser>
a InstalledBrowser instance.
Downloads the browser archive according to the InstallOptions without unpacking.
export declare function install(
options: InstallOptions & {
unpack: false;
},
): Promise<string>;
Parameter | Type | Description |
---|---|---|
options | [InstallOptions](./browsers.installoptions.md) & { unpack: false; } |
Returns:
Promise<string>
the absolute path to the archive.