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

14 lines
703 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; [Page](./puppeteer.protocol.page.md) &gt; [SetDownloadBehaviorRequest](./puppeteer.protocol.page.setdownloadbehaviorrequest.md) &gt; [behavior](./puppeteer.protocol.page.setdownloadbehaviorrequest.behavior.md)
## Protocol.Page.SetDownloadBehaviorRequest.behavior property
Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). (SetDownloadBehaviorRequestBehavior enum)
<b>Signature:</b>
```typescript
behavior: ('deny' | 'allow' | 'default');
```