@zhaow-de/playwright-cluster
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Playwright Cluster

Build Status npm (scoped) npm download Coverage Status Known Vulnerabilities MIT License

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.

Note

  1. Firefox is hardcoded as the headless browser. This library does not work with Chromium or Webkit.
  2. BrowserContext is not available in Puppeteer. Some options, e.g. ignoreHTTPSErrors cannot be directly translated from puppeteerOptions to playwrightOptions. Therefore, we introduced contextOptions as an optional property in ClusterOptions.

Package Sidebar

Install

npm i @zhaow-de/playwright-cluster

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

46.6 kB

Total Files

31

Last publish

Collaborators

  • zhaow