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

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