Methods
canDownload
- canDownload(revision: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
download
- download(revision: string, progressCallback?: (downloadBytes: number, totalBytes: number) => void): Promise<RevisionInfo>
-
Parameters
-
revision: string
-
Optional progressCallback: (downloadBytes: number, totalBytes: number) => void
-
- (downloadBytes: number, totalBytes: number): void
-
Parameters
-
downloadBytes: number
-
totalBytes: number
Returns void
localRevisions
- localRevisions(): Promise<string[]>
-
Returns Promise<string[]>
platform
- platform(): LiteralUnion<"mac" | "win32" | "win64" | "linux">
-
Returns LiteralUnion<"mac" | "win32" | "win64" | "linux">
product
- product(): LiteralUnion<"chrome" | "firefox">
-
Returns LiteralUnion<"chrome" | "firefox">
remove
- remove(revision: string): Promise<void>
-
Parameters
Returns Promise<void>
revisionInfo
-
Parameters
BrowserFetcher can download and manage different versions of Chromium.