Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.DownloadWillBeginEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { DownloadWillBeginEvent } = Protocol.Page;

Fired when page is about to start a download.

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).