browser-extension-tests
Installation
SKILL.md
browser-extension-tests
Per the [Playwright Chrome extensions docs]: load extensions via
launchPersistentContext with --disable-extensions-except +
--load-extension args. "Google Chrome and Microsoft Edge removed
the command-line flags needed to side-load extensions" - use the
bundled Chromium browser, not Chrome channel.
When to use
- Testing a browser extension popup page interaction.
- Validating content-script injection on matching URLs.
- Exercising background service worker (alarms, listeners, message routing).
- Verifying
chrome.storagereads/writes survive reload.