Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.79 KB

puppeteer.protocol.backgroundservice.md

File metadata and controls

33 lines (23 loc) · 1.79 KB

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.