mcpField
P
playwright-v1

playwright-v1

github.com/blockmaticTesting & quality1221 installsUpdated 4w ago
Repository

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

  1. 01Detects a localhost URL or accepts one
  2. 02Runs temporary Playwright scripts from /tmp
  3. 03Uses a visible Chromium browser by default
  4. 04Provides setup and execution commands

Use cases

  1. 01Checking a locally running page interactively
  2. 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-v1

After installing, type/playwright-v1in Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

package.json
run.js
lib/
helpers.js

Details

From the project README

Playwright (ad-hoc)

Not for app E2E. Those live in the consuming app's E2E test directories.

Run

  1. Detect localhost: node lib/helpers.js from this skill dir, or ask for a URL.
  2. Write a script to /tmp/playwright-test-*.js (never into the repo).
  3. Visible browser unless the user asks for headless: chromium.launch({ headless: false }).
  4. Execute: node run.js /tmp/playwright-test-*.js from this skill directory.

First time: npm run setup in this skill directory (installs Playwright + Chromium).

Comments

Markdown supported