playwright-chrome-extension-testing

Installation
SKILL.md

Playwright Chrome Extension Testing (Headless)

This skill gives you the exact, battle-tested recipe to automatably load and test any Chrome extension (MV2 or MV3) with Playwright, including fully headless runs in CI.

Why Playwright?

  • Best extension support in 2025/2026
  • Clean fixtures for extension ID extraction
  • Excellent tracing, auto-waiting, parallel execution
  • Official headless mode that actually loads extensions

1. Project Setup (one-time)

npm init -y
npm install -D @playwright/test playwright
npx playwright install --with-deps chromium   # or use Chrome for Testing binary
Related skills
Installs
1
GitHub Stars
1
First Seen
Mar 18, 2026