Installation
Prerequisites
- Manifest V3 extensions are supported in Chromium and Microsoft Edge.
- Node.js 20.19+ or 22.12+.
- Playwright 1.59+.
Also check Playwright's Node.js requirements for your installed version.
Install
Install the package:
- npm
- Yarn
- pnpm
npm install -D playwright-webext
yarn add --dev playwright-webext
pnpm add -D playwright-webext
If you haven't already installed Playwright Test and its Chromium browser, install them too:
- npm
- Yarn
- pnpm
npm install -D @playwright/test
npx playwright install chromium
yarn add --dev @playwright/test
yarn playwright install chromium
pnpm add -D @playwright/test
pnpm exec playwright install chromium