puppeteer/new-docs/puppeteer.protocol.fetch.requestpattern.md
2020-07-13 14:01:35 +01:00

21 lines
1.1 KiB
Markdown

<!-- 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)
## Protocol.Fetch.RequestPattern interface
<b>Signature:</b>
```typescript
export interface RequestPattern
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [requestStage](./puppeteer.protocol.fetch.requestpattern.requeststage.md) | [RequestStage](./puppeteer.protocol.fetch.requeststage.md) | Stage at wich to begin intercepting requests. Default is Request. |
| [resourceType](./puppeteer.protocol.fetch.requestpattern.resourcetype.md) | [Network.ResourceType](./puppeteer.protocol.network.resourcetype.md) | If set, only requests for matching resource types will be intercepted. |
| [urlPattern](./puppeteer.protocol.fetch.requestpattern.urlpattern.md) | string | Wildcards ('\*' -<!-- -->&gt; zero or more, '?' -<!-- -->&gt; exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "\*". |