mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
777 B
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');