puppeteer/new-docs/puppeteer.browserfetcher.download.md
Jack Franklin 8a099a0c2c
docs: replace @return with @returns (#6006)
The former is not understood by TSDoc.
2020-06-12 12:38:24 +02:00

767 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>}