2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Page.workers
|
|
|
|
---
|
|
|
|
|
|
|
|
# Page.workers() method
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
class Page {
|
|
|
|
workers(): WebWorker[];
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
[WebWorker](./puppeteer.webworker.md)\[\]
|
|
|
|
|
|
|
|
all of the dedicated [WebWorkers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) associated with the page.
|
|
|
|
|
|
|
|
## Remarks
|
|
|
|
|
2022-08-16 11:58:16 +00:00
|
|
|
This does not contain ServiceWorkers
|