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