InstallOptions interface
Signature:
export interface InstallOptions
Properties
Property | Modifiers | Type | Description | Default |
---|---|---|---|---|
baseUrl | optional | string | Determines the host that will be used for downloading. | Either - https://storage.googleapis.com/chromium-browser-snapshots or - https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central |
browser | Browser | Determines which browser to install. | ||
buildId | string | Determines which buildId to dowloand. BuildId should uniquely identify binaries and they are used for caching. | ||
cacheDir | string | Determines the path to download browsers to. | ||
downloadProgressCallback | optional | (downloadedBytes: number, totalBytes: number) => void | Provides information about the progress of the download. | |
platform | optional | BrowserPlatform | Determines which platform the browser will be suited for. | Auto-detected. |
unpack | optional | boolean | Whether to unpack and install browser archives. | true |