Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Browser.DownloadWillBeginEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { DownloadWillBeginEvent } = default.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).