Skip to main content
Service workers and PWA. list registrations, versions, and worker targets; update, unregister, skipWaiting, start, stop a worker; bypass routes requests around service workers; forceUpdate reloads the worker on every navigation; manifest reads the web app manifest and installability errors; evaluate runs JavaScript inside a worker (attaches to its target).

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
enum
required
One of: list, update, unregister, skipWaiting, start, stop, bypass, forceUpdate, manifest, evaluate, errors.
string
Registration scope URL (defaults to the only registration)
string
 
string
 
boolean
 
string
 

Example