puppeteer/new-docs/puppeteer.protocol.page.downloadprogressevent.md
2020-07-13 14:01:35 +01:00

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.