Class UrlPattern
- Namespace
- WebDriverBiDi.Network
- Assembly
- WebDriverBiDi.dll
The base class for a URL pattern used to match network traffic. It is not abstract, but its constructor is protected: create one of the derived types, UrlPatternPattern or UrlPatternString.
[JsonDerivedType(typeof(UrlPatternPattern))]
[JsonDerivedType(typeof(UrlPatternString))]
public class UrlPattern
- Inheritance
-
UrlPattern
- Derived
- Inherited Members
Constructors
UrlPattern(UrlPatternType)
Initializes a new instance of the UrlPattern class.
protected UrlPattern(UrlPatternType patternType)
Parameters
patternTypeUrlPatternTypeThe type of pattern to create.
Properties
Type
Gets the type of this UrlPattern.
[JsonPropertyName("type")]
public UrlPatternType Type { get; }