mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.1 KiB
1.1 KiB
Home > puppeteer > Protocol > Page > DownloadProgressEvent
Protocol.Page.DownloadProgressEvent interface
Fired when download makes progress. Last call has |done| == true.
Signature:
export interface DownloadProgressEvent
Properties
| Property | Type | Description |
|---|---|---|
| guid | string | Global unique identifier of the download. |
| receivedBytes | number | Total bytes received. |
| state | ('inProgress' | 'completed' | 'canceled') | Download status. |
| totalBytes | number | Total expected bytes to download. |