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

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