puppeteer/docs/api/puppeteer.page.workers.md

24 lines
381 B
Markdown
Raw Normal View History

2022-07-05 13:41:43 +00:00
---
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.
#### Signature:
2022-07-05 13:41:43 +00:00
```typescript
class Page {
abstract workers(): WebWorker[];
2022-07-05 13:41:43 +00:00
}
```
**Returns:**
[WebWorker](./puppeteer.webworker.md)\[\]
## Remarks
This does not contain ServiceWorkers