mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
964 B
964 B
Home > puppeteer > Protocol > Page > SetDownloadBehaviorRequest
Protocol.Page.SetDownloadBehaviorRequest interface
Signature:
export interface SetDownloadBehaviorRequest
Properties
Property | Type | Description |
---|---|---|
behavior | ('deny' | 'allow' | 'default') | Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). |
downloadPath | string | The default path to save downloaded files to. This is requred if behavior is set to 'allow' |