puppeteer/docs/api/puppeteer.httpresponse.fromserviceworker.md

265 B

sidebar_label
HTTPResponse.fromServiceWorker

HTTPResponse.fromServiceWorker() method

True if the response was served by a service worker.

Signature:

class HTTPResponse {
  fromServiceWorker(): boolean;
}

Returns:

boolean