Playwright E2E Sidebar
Adds a sidebar panel to the browser, covered end to end by Playwright tests.
Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: sidebar, popup, background service worker · Styling: CSS · Level: intermediate
Create this project
npx extension@latest create my-playwright --template playwright
cd my-playwright
npm install
npm run dev
Files in this template
- extension.config.js
- src/background.ts
- src/images/icon.png
- src/manifest.json
- src/sidebar/SidebarApp.ts
- src/sidebar/index.html
- src/sidebar/scripts.ts
- src/sidebar/styles.css
Source on GitHubDocumentation
extension.devDocumentation for extension.dev