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