<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [HTTPResponse](./puppeteer.httpresponse.md) &gt; [fromServiceWorker](./puppeteer.httpresponse.fromserviceworker.md)

## HTTPResponse.fromServiceWorker() method

<b>Signature:</b>

```typescript
fromServiceWorker(): boolean;
```
<b>Returns:</b>

boolean

True if the response was served by a service worker.

