Skip to main content
Deno 2 is finally 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.d.ts";
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