Class BackgroundService
- java.lang.Object
-
- org.openqa.selenium.devtools.v112.backgroundservice.BackgroundService
-
@Beta public class BackgroundService extends java.lang.Object
Defines events for background web platform features.
-
-
Constructor Summary
Constructors Constructor Description BackgroundService()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.openqa.selenium.devtools.Event<BackgroundServiceEvent>
backgroundServiceEventReceived()
static org.openqa.selenium.devtools.Command<java.lang.Void>
clearEvents(ServiceName service)
Clears all stored data for the service.static org.openqa.selenium.devtools.Event<RecordingStateChanged>
recordingStateChanged()
static org.openqa.selenium.devtools.Command<java.lang.Void>
setRecording(java.lang.Boolean shouldRecord, ServiceName service)
Set the recording state for the service.static org.openqa.selenium.devtools.Command<java.lang.Void>
startObserving(ServiceName service)
Enables event updates for the service.static org.openqa.selenium.devtools.Command<java.lang.Void>
stopObserving(ServiceName service)
Disables event updates for the service.
-
-
-
Method Detail
-
startObserving
public static org.openqa.selenium.devtools.Command<java.lang.Void> startObserving(ServiceName service)
Enables event updates for the service.
-
stopObserving
public static org.openqa.selenium.devtools.Command<java.lang.Void> stopObserving(ServiceName service)
Disables event updates for the service.
-
setRecording
public static org.openqa.selenium.devtools.Command<java.lang.Void> setRecording(java.lang.Boolean shouldRecord, ServiceName service)
Set the recording state for the service.
-
clearEvents
public static org.openqa.selenium.devtools.Command<java.lang.Void> clearEvents(ServiceName service)
Clears all stored data for the service.
-
recordingStateChanged
public static org.openqa.selenium.devtools.Event<RecordingStateChanged> recordingStateChanged()
-
backgroundServiceEventReceived
public static org.openqa.selenium.devtools.Event<BackgroundServiceEvent> backgroundServiceEventReceived()
-
-