extension-e2e-test
Installation
SKILL.md
Chrome Extension E2E Testing with Puppeteer
Automate end-to-end testing of Chrome extensions by loading them in a real Chrome instance via Puppeteer. This skill covers the full lifecycle: launching Chrome with the extension, getting the extension ID, navigating extension pages (side panel, popup, options), interacting with sandbox iframes, and verifying cross-context messaging (content script ↔ service worker ↔ offscreen document ↔ side panel).
When to Use
- Verifying a Chrome extension feature works after code changes
- Testing message routing between extension contexts (side panel, offscreen, service worker)
- Interacting with CSP-exempt sandbox iframes inside an extension
- Debugging extension-specific issues that can't be reproduced in CLI/standalone mode
- Running automated regression tests before shipping an extension update
Prerequisites
The project must have puppeteer installed: