Playwright testing project for Claude Code web interface.
One command to setup and run tests:
npm startThis will:
- Install all dependencies
- Auto-install Chromium browser
- Run all tests
npm test- Run tests headlessnpm run test:ui- Interactive UI modenpm run test:headed- Watch browser runnpm run test:debug- Debug modenpm run report- View test report
node get-youtube-content.js <video-id>Example:
node get-youtube-content.js HLegcP8qxVY- Playwright Config:
playwright.config.js - Sandbox Settings:
.claude/settings.json(allows all domains/actions) - Tests:
tests/directory
.
├── .claude/
│ └── settings.json # Sandbox permissions
├── tests/
│ └── example.spec.js # Example tests
├── get-youtube-content.js # YouTube content extractor
├── playwright.config.js # Playwright configuration
└── package.json