puppeteer/new-docs/puppeteer.browserfetcher.download.md

768 B

Home > puppeteer > BrowserFetcher > download

BrowserFetcher.download() method

Signature:

download(revision: string, progressCallback?: (x: number, y: number) => void): Promise<BrowserFetcherRevisionInfo>;

Parameters

Parameter Type Description
revision string
progressCallback (x: number, y: number) => void

Returns:

Promise<BrowserFetcherRevisionInfo>

{!Promise<!BrowserFetcher.RevisionInfo>}