Teach puppeteer new tricks through plugins.
This is the monorepo for puppeteer-extra, a modular plugin framework for puppeteer. :-)
For the main documentation, please head over to the puppeteer-extra package.
We've also recently introduced support for Playwright, if you're interested in that head over to playwright-extra.
PRs and new plugins are welcome! The plugin API for puppeteer-extra is clean and fun to use. Have a look the PuppeteerExtraPlugin base class documentation to get going and check out the existing plugins (minimal example is the anonymize-ua plugin) for reference.
We use a monorepo powered by Lerna (and yarn workspaces), ava for testing, the standard style for linting and JSDoc heavily to auto-generate markdown documentation based on code. :-)
LernaThis monorepo is powered by Lerna and yarn workspaces.
# Install deps
yarn
# Bootstrap the packages in the current Lerna repo.
# Installs all of their dependencies and links any cross-dependencies.
yarn bootstrap
# Build all TypeScript sources
yarn build…# make sure you're signed into npm before publishing
# yarn publishing is broken so lerna uses npm
npm whoami
# ensure everything is up2date and peachy
yarn
yarn bootstrap
yarn lerna link
yarn build
yarn test
# Phew, let's publish these packages!
# - Will publish all changed packages
# - Will ask for new pkg version per package
# - Will updated inter-package dependency versions automatically
yarn lerna publish
# Fix new dependency version symlinks
yarn bootstrap && yarn lerna linkCloudflare detecting pupeteer
Great project, thanks for maintaining this!
Stealth's WebGL vendor spoof contradicts navigator.gpu adapter.info (cross-interface GPU mismatch)
[Bug] Anikoto.to still detects playwright despite playwright-extra-plugin-stealth
puppeteer-extra-plugin-recaptcha: _isInViewport drops the right-edge bound
[Bug] stealth plugin malfunctioning with playwright
[Bug] CloudFlare protection (https://nowsecure.nl) bypass on local laptop (Windows 11, display), but not on remote server (Debian + xvfb)
[Bug] CloudFlare protection (https://nowsecure.nl) bypass only with {headless: false}, not with {headless: true}
[Bug] puppeteer-extra-stealth plugin fails to bypass Cloudflare bot detection on accounts.x.ai
[Bug] puppeteer-extra-plugin-stealth can't passby cloudflare verify