@zhaow-de/playwright-cluster
v1.5.0
Published
Cluster management for playwright
Downloads
25
Maintainers
Readme
Playwright Cluster
Current version: v1.5.0
puppeteer-cluster is a great library manages a puppeteer cluster. This is re-implementation to make it work with Playwright, aiming at 100% API compatibility as a turn-key replacement.
Install
npm --save @zhaow-de/playwright-cluster
Usage
The documentation from puppeteer-cluster is still valid as the reference.
- Usage
- Examples
- Concurrency implementations
- Typings for input/output (via TypeScript Generics)
- Debugging
- API
Note
- Firefox is hardcoded as the headless browser. This library does not work with Chromium or Webkit.
BrowserContext
is not available in Puppeteer. Some options, e.g.ignoreHTTPSErrors
cannot be directly translated frompuppeteerOptions
toplaywrightOptions
. Therefore, we introducedcontextOptions
as an optional property inClusterOptions
.