Table of Contents

Class BlockPattern

Namespace
OpenQA.Selenium.DevTools.V147.Network
Assembly
Selenium.WebDriver.dll

BlockPattern

public sealed class BlockPattern
Inheritance
BlockPattern
Inherited Members

Properties

Block

Whether or not to block the pattern. If false, a matching request will not be blocked even if it matches a later BlockPattern.

[JsonPropertyName("block")]
public bool Block { get; set; }

Property Value

bool

UrlPattern

URL pattern to match. Patterns use the URLPattern constructor string syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: *://*:*/*.css.

[JsonPropertyName("urlPattern")]
public string UrlPattern { get; set; }

Property Value

string