Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.69 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.69 KB

Playwright Cluster

Current version: v2.1.0

Build Status cov lines cov functions cov statements cov branches

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 @alloy-ch/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.