Table of Contents

Class ServiceWorkerRouterSource

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

Corresponds to RouterSource in the spec while the representation is different as follows. (https://www.w3.org/TR/service-workers/#typedefdef-routersource)

  • RouterSourceEnum: type equals cache, sourceDict is null.
  • RouterSourceDict: type equals sourceDict, sourceDict has valid value.
public sealed class ServiceWorkerRouterSource
Inheritance
ServiceWorkerRouterSource
Inherited Members

Properties

SourceDict

Non-empty iff type equals "sourceDict".

[JsonPropertyName("sourceDict")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ServiceWorkerRouterSourceDict? SourceDict { get; set; }

Property Value

ServiceWorkerRouterSourceDict

Type

type

[JsonPropertyName("type")]
public ServiceWorkerRouterSourceType Type { get; set; }

Property Value

ServiceWorkerRouterSourceType