Extremely Popular
Go to Latest
interface puppeteer.Browser.DownloadWillBeginEvent
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { DownloadWillBeginEvent } = puppeteer.Browser;

Fired when page is about to start a download.

Properties

frameId: Page.FrameId

Id of the frame that caused the download to begin.

guid: string

Global unique identifier of the download.

url: string

URL of the resource being downloaded.

suggestedFilename: string

Suggested file name of the resource (the actual name of the file saved on disk may differ).