puppeteer/docs/browsers-api/browsers.makeprogresscallback.md
2023-04-06 14:23:10 +02:00

597 B

sidebar_label
makeProgressCallback

makeProgressCallback() function

Signature:

export declare function makeProgressCallback(
  browser: Browser,
  buildId: string
): (downloadedBytes: number, totalBytes: number) => void;

Parameters

Parameter Type Description
browser Browser
buildId string

Returns:

(downloadedBytes: number, totalBytes: number) => void