import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { SetDownloadBehaviorRequest } = Protocol.Browser;
Properties
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). |allowAndName| allows download and names files according to their dowmload guids. (SetDownloadBehaviorRequestBehavior enum)
optional
browserContextId: BrowserContextIDBrowserContext to set download behavior. When omitted, default browser context is used.
The default path to save downloaded files to. This is required if behavior is set to 'allow' or 'allowAndName'.