mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.2 KiB
1.2 KiB
Home > puppeteer > Protocol > Network > RequestPattern
Protocol.Network.RequestPattern interface
Request pattern for interception.
Signature:
export interface RequestPattern
Properties
Property | Type | Description |
---|---|---|
interceptionStage | InterceptionStage | Stage at wich to begin intercepting requests. Default is Request. |
resourceType | 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 "*". |