About playwright-v1
playwright-v1 is a skill for running ad-hoc browser checks with Playwright, rather than application end-to-end tests. It guides script placement, browser visibility, and execution from the skill directory.
Key features
- 01Detects a localhost URL or accepts one
- 02Runs temporary Playwright scripts from /tmp
- 03Uses a visible Chromium browser by default
- 04Provides setup and execution commands
Use cases
- 01Checking a locally running page interactively
- 02Running a one-off browser test outside app E2E suites
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ blockmatic/ basilic-skills --skill playwright-v1After installing, type/playwright-v1in Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
package.jsonrun.jslib/helpers.jsDetails
From the project READMEPlaywright (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).
Comments
Markdown supported