Class ServiceWorker


  • @Beta
    public class ServiceWorker
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ServiceWorker()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.openqa.selenium.devtools.Command<java.lang.Void> deliverPushMessage​(java.lang.String origin, RegistrationID registrationId, java.lang.String data)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> disable()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> dispatchPeriodicSyncEvent​(java.lang.String origin, RegistrationID registrationId, java.lang.String tag)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> dispatchSyncEvent​(java.lang.String origin, RegistrationID registrationId, java.lang.String tag, java.lang.Boolean lastChance)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> enable()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> inspectWorker​(java.lang.String versionId)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> setForceUpdateOnPageLoad​(java.lang.Boolean forceUpdateOnPageLoad)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> skipWaiting​(java.lang.String scopeURL)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> startWorker​(java.lang.String scopeURL)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> stopAllWorkers()  
      static org.openqa.selenium.devtools.Command<java.lang.Void> stopWorker​(java.lang.String versionId)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> unregister​(java.lang.String scopeURL)  
      static org.openqa.selenium.devtools.Command<java.lang.Void> updateRegistration​(java.lang.String scopeURL)  
      static org.openqa.selenium.devtools.Event<ServiceWorkerErrorMessage> workerErrorReported()  
      static org.openqa.selenium.devtools.Event<java.util.List<ServiceWorkerRegistration>> workerRegistrationUpdated()  
      static org.openqa.selenium.devtools.Event<java.util.List<ServiceWorkerVersion>> workerVersionUpdated()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ServiceWorker

        public ServiceWorker()
    • Method Detail

      • deliverPushMessage

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

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

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

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

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

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

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

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

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

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

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

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

        public static org.openqa.selenium.devtools.Command<java.lang.Void> updateRegistration​(java.lang.String scopeURL)
      • workerRegistrationUpdated

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

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