Playwright Visual QA
Use this skill to do quick, repeatable visual QA against a URL using playwright-cli.
Prerequisite
Verify playwright-cli exists:
command -v playwright-cli
If missing, install it (how you do this depends on your environment). If you don't have playwright-cli, you can also do visual QA with any Playwright setup you already use, but this skill assumes the playwright-cli interface.
Workflow
- •Navigate:
playwright-cli navigate --url "<url>" - •Screenshot:
- •Viewport:
playwright-cli screenshot --filename viewport.png - •Full-page:
playwright-cli screenshot --full-page --filename full.png
- •Viewport:
- •Accessibility:
playwright-cli snapshot - •Console:
playwright-cli console - •Network:
playwright-cli network - •Report issues (layout/a11y/console/network) with severity and suggested fixes.
- •Close:
playwright-cli close