Saltar al contenido
TakoAPI
Volver a skills

playwright-skill

por vmercel

Web & Frontend Development
892Descargas según clawskills.sh
1Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Complete browser automation with Playwright.

Descripción

Qué hace esta skill

Playwright-based browser automation that auto-detects running dev servers, writes test scripts to /tmp, and executes them with a visible browser by default. Handles page testing, form submission, login flows, responsive design checks, and link validation. Scripts are parameterized and cleaned up automatically by the OS.

Auto-detecting dev servers eliminates hardcoded URLs, and writing scripts to /tmp keeps test code out of the project directory.

Cuándo usarla

  • Testing login redirects on a local dev server
  • Checking layout across desktop, tablet, and mobile viewports
  • Finding broken external links on a web page
  • Filling and submitting forms to verify success states
  • Taking full-page screenshots before a design review

Flujo de trabajo de ejemplo

ENTRADA

User asks: 'Test if the login flow redirects correctly'

AGENTE
  1. 1

    Runs detectDevServers() to find the active local server

  2. 2

    Asks user to confirm which server to test if multiple are found

  3. 3

    Writes a login automation script to /tmp/playwright-test-login.js with the detected URL as a constant

  4. 4

    Executes the script via node run.js from the skill directory

  5. 5

    Reports the redirect outcome and any console errors

SALIDA

Login flow confirmed: form submission redirects to /dashboard

Instalación

clawhub install vmercel/playwright-skill

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces