puppeteer/new-docs/puppeteer.protocol.page.setdownloadbehaviorrequest.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

1006 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). (SetDownloadBehaviorRequestBehavior enum)
downloadPath string The default path to save downloaded files to. This is requred if behavior is set to 'allow'