Appearance
Install
Option A: Patch an existing Puppeteer or Playwright install (CLI patcher)
Run the patcher against your already-installed package. No permanent package change needed.
bash
npx rebrowser-patches@latest patch --packageName puppeteer-coreTo revert:
bash
npx rebrowser-patches@latest unpatch --packageName puppeteer-coreTo patch by absolute path (useful in Docker or monorepos):
bash
npx rebrowser-patches@latest patch --packagePath /web/app/node_modules/puppeteer-core-customWindows note: The patch command requires Git in PATH. Install from https://git-scm.com/download/win, then:
bash
set PATH=%PATH%;C:\Program Files\Git\usr\bin\
patch -vOption B: Drop-in replacement packages (Node.js)
Replace puppeteer / puppeteer-core / playwright / playwright-core in your package.json with the pre-patched equivalents using npm aliases:
json
{
"puppeteer": "npm:rebrowser-puppeteer@^23.3.1",
"puppeteer-core": "npm:rebrowser-puppeteer-core@^23.3.1"
}Then install normally:
bash
npm installAvailable pre-patched packages:
| Package | Registry |
|---|---|
rebrowser-puppeteer | npm |
rebrowser-puppeteer-core | npm |
rebrowser-playwright | npm |
rebrowser-playwright-core | npm |
rebrowser-playwright | PyPI (Python) |
Option C: Python Playwright (PyPI)
bash
pip install rebrowser-playwrightCloud Platform Setup (no local install required)
- Create an account at https://rebrowser.net/my/signup.
- Go to Dashboard / Profiles and create a browser profile.
- Copy your API key from Dashboard / API.
- (Optional) Add proxies via the Proxies dashboard.
- In your Puppeteer or Playwright code, replace the local browser launch with the Rebrowser remote CDP endpoint URL.
No local browser binary is needed when using the cloud platform.