Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Page.DownloadProgressEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { DownloadProgressEvent } = Protocol.Page;

Fired when download makes progress. Last call has |done| == true. Deprecated. Use Browser.downloadProgress instead.

Properties

guid: string

Global unique identifier of the download.

totalBytes: number

Total expected bytes to download.

receivedBytes: number

Total bytes received.

state: ("inProgress" | "completed" | "canceled")

Download status. (DownloadProgressEventState enum)