puppeteer/new-docs/puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md

14 lines
777 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Browser](./puppeteer.protocol.browser.md) &gt; [SetDownloadBehaviorRequest](./puppeteer.protocol.browser.setdownloadbehaviorrequest.md) &gt; [behavior](./puppeteer.protocol.browser.setdownloadbehaviorrequest.behavior.md)
## 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.
<b>Signature:</b>
```typescript
behavior: ('deny' | 'allow' | 'allowAndName' | 'default');
```