puppeteer/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md
2020-07-13 14:01:35 +01:00

777 B

Home > puppeteer > Protocol > Browser > SetDownloadBehaviorRequest > behavior

Protocol.Browser.SetDownloadBehaviorRequest.behavior property

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.

Signature:

behavior: ('deny' | 'allow' | 'allowAndName' | 'default');