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

24 lines
372 B
Markdown
Raw Normal View History

---
sidebar_label: Page.workers
---
# Page.workers() method
2022-10-24 11:58:47 +00:00
#### Signature:
```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
This does not contain ServiceWorkers