Playwright Interactive skill for Claude
The playwright interactive skill by openai: Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.
Playwright Interactive SKILL.md
A preview of the skill file from openai/skills.
Playwright Interactive Skill
Use a persistent js_repl Playwright session to debug local web or Electron apps, keep the same handles alive across iterations, and run functional plus visual QA without restarting the whole toolchain unless the process ownership changed.
Preconditions
js_replmust be enabled for this skill.- If
js_replis missing, enable it in~/.codex/config.toml:
[features]
js_repl = true
- You can also start a new session with
--enable js_repl(equivalent to-c features.js_repl=true). - After enabling
js_repl, start a new Codex session so the tool list refreshes. - For now, run this workflow with sandboxing disabled: start Codex with
--sandbox danger-full-access(or the equivalent config forsandbox_mode=danger-full-access). This is a temporary requirement whilejs_repl+ Playwright support inside the sandbox is still being completed. - Run setup from the same project directory you need to debug.
- Treat
js_repl_resetas a recovery tool, not routine cleanup. Resetting the kernel destroys your Playwright handles.
One-time setup
test -f package.json || npm init -y
npm install playwright
How to install the playwright interactive skill
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit openai/skills/skills/.curated/playwright-interactive#main ~/.claude/skills/playwright-interactiveCodex
npx degit openai/skills/skills/.curated/playwright-interactive#main ~/.codex/skills/playwright-interactiveClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What is the playwright interactive skill?
Persistent browser and Electron interaction through `js_repl` for fast iterative UI debugging.
+How do I install Playwright Interactive in Claude Code?
Copy the skill folder into ~/.claude/skills/playwright-interactive, for example with "npx degit openai/skills/skills/.curated/playwright-interactive#main ~/.claude/skills/playwright-interactive". Claude Code loads it automatically and uses it when a task matches.
+Does Playwright Interactive work with ChatGPT or Codex?
Yes. Playwright Interactive uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/playwright-interactive. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is Playwright Interactive free?
Playwright Interactive is published on GitHub by openai. The repository does not declare a license, so check with the author before reusing it.