Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.Browser.DownloadWillBeginEvent

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.Browser.DownloadWillBeginEvent
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
const { DownloadWillBeginEvent } = Protocol.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).