2020-07-13 13:01:35 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [DownloadProgressEvent](./puppeteer.protocol.page.downloadprogressevent.md)
|
|
|
|
|
|
|
|
## Protocol.Page.DownloadProgressEvent interface
|
|
|
|
|
|
|
|
Fired when download makes progress. Last call has \|done\| == true.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface DownloadProgressEvent
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Property | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| [guid](./puppeteer.protocol.page.downloadprogressevent.guid.md) | string | Global unique identifier of the download. |
|
|
|
|
| [receivedBytes](./puppeteer.protocol.page.downloadprogressevent.receivedbytes.md) | number | Total bytes received. |
|
2020-07-20 15:17:06 +00:00
|
|
|
| [state](./puppeteer.protocol.page.downloadprogressevent.state.md) | ('inProgress' \| 'completed' \| 'canceled') | Download status. (DownloadProgressEventState enum) |
|
2020-07-13 13:01:35 +00:00
|
|
|
| [totalBytes](./puppeteer.protocol.page.downloadprogressevent.totalbytes.md) | number | Total expected bytes to download. |
|
|
|
|
|