@randy.tarampi/playwright-cluster
TypeScript icon, indicating that this package has built-in type declarations

0.5.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 @randy.tarampi/playwright-cluster

Usage

The documentation from puppeteer-cluster is still valid as the reference.

Note

  1. Chromium is hardcoded as the headless browser. This library does not work with Firefox 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 @randy.tarampi/playwright-cluster

Weekly Downloads

328

Version

0.5.0

License

MIT

Unpacked Size

45 kB

Total Files

31

Last publish

Collaborators

  • randy.tarampi