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

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