Table of Contents

Class ServiceWorkerRouterCondition

Namespace
OpenQA.Selenium.DevTools.V155.ServiceWorker
Assembly
Selenium.WebDriver.dll

Mostly corresponds to RouterCondition in ServiceWorker spec (https://www.w3.org/TR/service-workers/#dictdef-routercondition)

public sealed class ServiceWorkerRouterCondition
Inheritance
ServiceWorkerRouterCondition
Inherited Members

Properties

Not

not

[JsonPropertyName("not")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ServiceWorkerRouterCondition? Not { get; set; }

Property Value

ServiceWorkerRouterCondition

Or

or

[JsonPropertyName("or")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ServiceWorkerRouterCondition[]? Or { get; set; }

Property Value

ServiceWorkerRouterCondition[]

RequestDestination

requestDestination

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

Property Value

string

RequestMethod

requestMethod

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

Property Value

string

RequestMode

requestMode

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

Property Value

string

RunningStatus

runningStatus

[JsonPropertyName("runningStatus")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ServiceWorkerVersionRunningStatus? RunningStatus { get; set; }

Property Value

ServiceWorkerVersionRunningStatus?

UrlPattern

Plain text, or JSON serialization of URLPatternInit or URLPattern

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

Property Value

string