playwright-v1
Installation
SKILL.md
Playwright (ad-hoc)
Not for app E2E. Those live in the consuming app's E2E test directories.
Run
- Detect localhost:
node lib/helpers.jsfrom this skill dir, or ask for a URL. - Write a script to
/tmp/playwright-test-*.js(never into the repo). - Visible browser unless the user asks for headless:
chromium.launch({ headless: false }). - Execute:
node run.js /tmp/playwright-test-*.jsfrom this skill directory.
First time: npm run setup in this skill directory (installs Playwright + Chromium).