java.lang.Object
org.openqa.selenium.devtools.v115.serviceworker.ServiceWorker

@Beta public class ServiceWorker extends Object
  • Constructor Details

    • ServiceWorker

      public ServiceWorker()
  • Method Details

    • deliverPushMessage

      public static org.openqa.selenium.devtools.Command<Void> deliverPushMessage(String origin, RegistrationID registrationId, String data)
    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
    • dispatchSyncEvent

      public static org.openqa.selenium.devtools.Command<Void> dispatchSyncEvent(String origin, RegistrationID registrationId, String tag, Boolean lastChance)
    • dispatchPeriodicSyncEvent

      public static org.openqa.selenium.devtools.Command<Void> dispatchPeriodicSyncEvent(String origin, RegistrationID registrationId, String tag)
    • enable

      public static org.openqa.selenium.devtools.Command<Void> enable()
    • inspectWorker

      public static org.openqa.selenium.devtools.Command<Void> inspectWorker(String versionId)
    • setForceUpdateOnPageLoad

      public static org.openqa.selenium.devtools.Command<Void> setForceUpdateOnPageLoad(Boolean forceUpdateOnPageLoad)
    • skipWaiting

      public static org.openqa.selenium.devtools.Command<Void> skipWaiting(String scopeURL)
    • startWorker

      public static org.openqa.selenium.devtools.Command<Void> startWorker(String scopeURL)
    • stopAllWorkers

      public static org.openqa.selenium.devtools.Command<Void> stopAllWorkers()
    • stopWorker

      public static org.openqa.selenium.devtools.Command<Void> stopWorker(String versionId)
    • unregister

      public static org.openqa.selenium.devtools.Command<Void> unregister(String scopeURL)
    • updateRegistration

      public static org.openqa.selenium.devtools.Command<Void> updateRegistration(String scopeURL)
    • workerErrorReported

      public static org.openqa.selenium.devtools.Event<ServiceWorkerErrorMessage> workerErrorReported()
    • workerRegistrationUpdated

      public static org.openqa.selenium.devtools.Event<List<ServiceWorkerRegistration>> workerRegistrationUpdated()
    • workerVersionUpdated

      public static org.openqa.selenium.devtools.Event<List<ServiceWorkerVersion>> workerVersionUpdated()