mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.8 KiB
1.8 KiB
Home > puppeteer > Protocol > BackgroundService
Protocol.BackgroundService namespace
Defines events for background web platform features.
Signature:
export namespace BackgroundService
Interfaces
| Interface | Description |
|---|---|
| BackgroundServiceEvent | |
| BackgroundServiceEventReceivedEvent | Called with all existing backgroundServiceEvents when enabled, and all new events afterwards if enabled and recording. |
| ClearEventsRequest | |
| EventMetadata | A key-value pair for additional event information to pass along. |
| RecordingStateChangedEvent | Called when the recording state for the service has been updated. |
| SetRecordingRequest | |
| StartObservingRequest | |
| StopObservingRequest |
Type Aliases
| Type Alias | Description |
|---|---|
| ServiceName | The Background Service that will be associated with the commands/events. Every Background Service operates independently, but they share the same API. |