Table of Contents

Class RequestPattern

Namespace
Selenium.WebDriver.BiDi.Cdp.Fetch
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record RequestPattern : IEquatable<RequestPattern>
Inheritance
RequestPattern
Implements
Inherited Members

Constructors

RequestPattern()

public RequestPattern()

Properties

RequestStage

Stage at which to begin intercepting requests. Default is Request.

public RequestStage? RequestStage { get; init; }

Property Value

RequestStage?

ResourceType

If set, only requests for matching resource types will be intercepted.

public ResourceType? ResourceType { get; init; }

Property Value

ResourceType?

UrlPattern

Wildcards ('' -> zero or more, '?' -> exactly one) are allowed. Escape character is backslash. Omitting is equivalent to "".

public string? UrlPattern { get; init; }

Property Value

string