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

Fired when page is about to start a download. Deprecated. Use Browser.downloadWillBegin instead.

Properties

frameId: FrameId

Id of the frame that caused 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).