puppeteer/new-docs/puppeteer.protocol.network.requestpattern.md
2020-07-13 14:01:35 +01:00

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 "*".