Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.js";
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).