Table of Contents

Class RequestPattern

Namespace
OpenQA.Selenium.DevTools.V148.Fetch
Assembly
Selenium.WebDriver.dll

RequestPattern

public sealed class RequestPattern
Inheritance
RequestPattern
Inherited Members

Properties

RequestStage

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

[JsonPropertyName("requestStage")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RequestStage? RequestStage { get; set; }

Property Value

RequestStage?

ResourceType

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

[JsonPropertyName("resourceType")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ResourceType? ResourceType { get; set; }

Property Value

ResourceType?

UrlPattern

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

[JsonPropertyName("urlPattern")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? UrlPattern { get; set; }

Property Value

string