mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
1.2 KiB
Markdown
23 lines
1.2 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [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 ('\*' -<!-- -->> zero or more, '?' -<!-- -->> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "\*". |
|
||
|
|