Working with playwright
Skill ajilty/agentic/skills/knowledge/working-with-playwright
Playwright headless-capture gotchas in a uv-managed Python venv: the Chromium binary is not installed by the package. Use when a Playwright render fails with "Executable doesn't exist" or before the first screenshot step in a uv venv.From its SKILL.md
npx -y skills add ajilty/agentic --skill working-with-playwrightAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, as published. Nobody here has run it
Working with Playwright — sharp edges
Operating knowledge for headless Playwright captures. What to screenshot and why belongs to the task at hand; this covers the tool surface.
The Chromium binary is NOT installed by the package
In a uv-managed venv, uv add playwright (or uv pip install playwright) installs the
Python package only — it does not download the Chromium browser binary. The first
headless render therefore fails ("Executable doesn't exist" at the browsers path) until the
browser is fetched once:
uv run playwright install chromium
Run this once before any screenshot step (idempotent; a no-op if already present). Treat it as a setup precondition, not an error to debug — the first-run failure is expected when this step was skipped, not a code bug.
Wrong, stale, or missing edge? File it: https://github.com/ajilty/agentic/issues/new?template=edge-report.yml