Playwright REPL for agent debugging
Claude Code: The author vibe-coded pw-repl with Claude, a Playwright and CDP REPL that lets agents drive a browser, take screenshots, and record narrated videos.
Opus 5.5 recorded the repo's demo video itself using the record feature, and the author uses the tool constantly for debugging.
Overview
How it was set up
Playwright plus CDP, run with `npx pw-repl@latest serve`, in a headless Chromium or your own Chrome with remote debugging. It can also generate a Claude Code skill.
Worth knowing
Only tested on the author's Linux machine; macOS is untested. The code is fully vibe-coded and may draw on an existing similarly named package.
A prompt to start from
Use pw-repl to reproduce this bug: [bug description]. Record a video with toast narration and the virtual mouse, and take screenshots with highlights on [element].
Written by Agentic Feats from the source. Not the author's exact prompt.
Sources 2
History
- Source published
- 2026-10-26
- Added to Agentic Feats
- 2026-10-26
- Pick
- No
- Markdown copy
- /c/playwright-repl-for-agent-debugging-claude-code.md
More in coding
131 featsResult$28,335 spent, 9,350 commits across 145 repos, with spend up 7.4x in April after parallel git worktrees. Only 0.7% of tool calls ran overnight.
ResultA nightly workflow found a meteor on 25 October 2026. The bundled night detector found 95% of planes and 90% of meteors on held-out nights.
ResultThe launcher runs daily on a living-room NVIDIA Shield and a bedroom Fire TV Stick 4K, with a live camera at about 1 s latency.