puppeteer/new-docs/puppeteer.protocol.network.requestpattern.resourcetype.md

14 lines
584 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; [Network](./puppeteer.protocol.network.md) &gt; [RequestPattern](./puppeteer.protocol.network.requestpattern.md) &gt; [resourceType](./puppeteer.protocol.network.requestpattern.resourcetype.md)
## Protocol.Network.RequestPattern.resourceType property
If set, only requests for matching resource types will be intercepted.
<b>Signature:</b>
```typescript
resourceType?: ResourceType;
```