Skip to main content
Go to Latest
interface default.Page.DownloadProgressEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { DownloadProgressEvent } = default.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)