Class ServiceWorker
java.lang.Object
org.openqa.selenium.devtools.v141.serviceworker.ServiceWorker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Command<Void> deliverPushMessage(String origin, RegistrationID registrationId, String data) static org.openqa.selenium.devtools.Command<Void> disable()static org.openqa.selenium.devtools.Command<Void> dispatchPeriodicSyncEvent(String origin, RegistrationID registrationId, String tag) static org.openqa.selenium.devtools.Command<Void> dispatchSyncEvent(String origin, RegistrationID registrationId, String tag, Boolean lastChance) static org.openqa.selenium.devtools.Command<Void> enable()static org.openqa.selenium.devtools.Command<Void> setForceUpdateOnPageLoad(Boolean forceUpdateOnPageLoad) static org.openqa.selenium.devtools.Command<Void> skipWaiting(String scopeURL) static org.openqa.selenium.devtools.Command<Void> startWorker(String scopeURL) static org.openqa.selenium.devtools.Command<Void> static org.openqa.selenium.devtools.Command<Void> stopWorker(String versionId) static org.openqa.selenium.devtools.Command<Void> unregister(String scopeURL) static org.openqa.selenium.devtools.Command<Void> updateRegistration(String scopeURL) static org.openqa.selenium.devtools.Event<ServiceWorkerErrorMessage> static org.openqa.selenium.devtools.Event<List<ServiceWorkerRegistration>> static org.openqa.selenium.devtools.Event<List<ServiceWorkerVersion>>
-
Constructor Details
-
ServiceWorker
public ServiceWorker()
-
-
Method Details
-
deliverPushMessage
public static org.openqa.selenium.devtools.Command<Void> deliverPushMessage(String origin, RegistrationID registrationId, String data) -
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
-
setForceUpdateOnPageLoad
-
skipWaiting
-
startWorker
-
stopAllWorkers
-
stopWorker
-
unregister
-
updateRegistration
-
workerErrorReported
-
workerRegistrationUpdated
public static org.openqa.selenium.devtools.Event<List<ServiceWorkerRegistration>> workerRegistrationUpdated() -
workerVersionUpdated
-