puppeteer/website/versioned_docs/version-21.5.2/api/puppeteer.page.workers.md

24 lines
381 B
Markdown
Raw Normal View History

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