Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Page.DownloadProgressEvent

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Page.DownloadProgressEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.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)