Class UrlPatternPattern
- Namespace
- WebDriverBiDi.Network
- Assembly
- WebDriverBiDi.dll
Represents a URL pattern defined by individual component patterns.
public class UrlPatternPattern : UrlPattern
- Inheritance
-
UrlPatternPattern
- Inherited Members
Remarks
Each part that is set is compared for equality with the same part of a request URL, and a part that is
not set matches any value; no part accepts wildcards. The characters (, ), *,
{ and } are reserved and make the remote end reject the pattern with an invalid argument
error unless each is escaped with a preceding backslash (</code>).
Constructors
UrlPatternPattern()
Initializes a new instance of the UrlPatternPattern class.
public UrlPatternPattern()
Properties
HostName
Gets or sets the host name to match.
[JsonPropertyName("hostname")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? HostName { get; set; }
Property Value
PathName
Gets or sets the path name to match.
[JsonPropertyName("pathname")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? PathName { get; set; }
Property Value
Port
Gets or sets the port to match.
[JsonPropertyName("port")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Port { get; set; }
Property Value
Protocol
Gets or sets the protocol to match.
[JsonPropertyName("protocol")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Protocol { get; set; }
Property Value
Search
Gets or sets the search to match.
[JsonPropertyName("search")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? Search { get; set; }