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

23 lines
1.2 KiB
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)
## 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 "\*". |