mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.1 KiB
1.1 KiB
Home > puppeteer > Protocol > Fetch > RequestPattern
Protocol.Fetch.RequestPattern interface
Signature:
export interface RequestPattern
Properties
Property | Type | Description |
---|---|---|
requestStage | RequestStage | Stage at wich to begin intercepting requests. Default is Request. |
resourceType | Network.ResourceType | If set, only requests for matching resource types will be intercepted. |
urlPattern | string | Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "*". |