Repolode
lackeyjb

lackeyjb/playwright-skill

An Agent Skill that lets coding agents write and run custom Playwright browser automation scripts for tests and multi-step web tasks.

Estrelas
3,221
Forks
266
Issues abertas
9
Último commit
há 18 dias

O que é?

Playwright Skill is an Agent Skill that lets coding agents such as Claude Code write and execute Playwright automation on demand, from a quick page check to a multi-step flow. Instead of relying on pre-built scripts, the agent generates code for each request and runs it through a bundled executor (run.js) that handles module resolution for both file and inline scripts.

The skill keeps its main instructions concise and loads a fuller Playwright API reference only when a task needs it. It defaults to a visible browser (headless: false), supports a SLOW_MO setting for pacing, and includes optional helper functions in lib/helpers.js, such as dev-server detection and temporary screenshot handling. Artifacts go to the OS temp directory unless PW_ARTIFACT_DIR is set.

It installs through Vercel's skills CLI, as a Claude Code plugin, or by copying the skills/playwright-skill folder into an agent's skill directory. Setup runs npm run setup to install Playwright and Chromium.

Recursos principais

  • 01Writes custom Playwright code for each request rather than running fixed scripts
  • 02Runs file and inline scripts through a bundled executor with stable module resolution
  • 03Defaults to a visible browser and supports a SLOW_MO setting
  • 04Loads the full API reference only when a task needs it
  • 05Optional helpers for dev-server detection and screenshot handling

Casos de uso

  • Testing a page or signup flow by having an agent write and run the check
  • Taking screenshots across mobile and desktop viewports
  • Writing reusable automation scripts that involve loops, assertions, or network interception
  • Checking for broken links or missing images on a site

Tópicos

Perguntas frequentes

O que é playwright-skill?
An Agent Skill that lets coding agents write and run custom Playwright browser automation scripts for tests and multi-step web tasks. Playwright Skill is an Agent Skill that lets coding agents such as Claude Code write and execute Playwright automation on demand, from a quick page check to a multi-step flow. Instead of relying on pre-built scripts, the agent generates code for each request and runs it through a bundled executor (run.js) that handles module resolution for both file and inline scripts.
playwright-skill é gratuito? Qual é a licença?
playwright-skill é open source sob a licença MIT. Confira os termos da licença antes de usá-lo em produtos comerciais.
playwright-skill ainda é mantido?
Manutenção ativa. O último commit de playwright-skill foi em 1 de out. de 2026.
Para que posso usar playwright-skill?
Testing a page or signup flow by having an agent write and run the check Taking screenshots across mobile and desktop viewports Writing reusable automation scripts that involve loops, assertions, or network interception Checking for broken links or missing images on a site
Onde consigo playwright-skill?
O código-fonte e as instruções de instalação estão no GitHub: https://github.com/lackeyjb/playwright-skill

Resumo gerado por IA a partir do README do projeto. As estatísticas do GitHub são atualizadas diariamente.

Projetos relacionados