Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
interface Protocol.ServiceWorker.ServiceWorkerVersion
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { ServiceWorkerVersion } = Protocol.ServiceWorker;

ServiceWorker version.

Properties

versionId: string
registrationId: RegistrationID
scriptURL: string
optional
scriptLastModified: number

The Last-Modified header value of the main script.

optional
scriptResponseTime: number

The time at which the response headers of the main script were received from the server. For cached script it is the last time the cache entry was validated.

optional
controlledClients: Target.TargetID[]
optional
targetId: Target.TargetID