puppeteer/new-docs/puppeteer.protocol.fetch.enablerequest.patterns.md

14 lines
666 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; [Fetch](./puppeteer.protocol.fetch.md) &gt; [EnableRequest](./puppeteer.protocol.fetch.enablerequest.md) &gt; [patterns](./puppeteer.protocol.fetch.enablerequest.patterns.md)
## Protocol.Fetch.EnableRequest.patterns property
If specified, only requests matching any of these patterns will produce fetchRequested event and will be paused until clients response. If not set, all requests will be affected.
<b>Signature:</b>
```typescript
patterns?: RequestPattern[];
```