playwright-interactive

Maintain persistent Playwright sessions for local web and Electron debugging.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Kevin-Mok/ai-cli-dotfiles --skill playwright-interactive-kevin-mok
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-interactive
Source: https://github.com/Kevin-Mok/ai-cli-dotfiles/tree/main/dot_agents/skills/playwright-interactive
Command: npx skills add https://github.com/Kevin-Mok/ai-cli-dotfiles --skill playwright-interactive-kevin-mok

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent browser and Electron interaction for fast iterative UI debugging, eliminating the need to restart tooling and lose handles during repeated QA checks.

Core Features & Use Cases

  • Persistent Playwright session across iterations for local web and Electron debugging.
  • Reuse of handles, contexts, and windows to speed up QA and debugging cycles.
  • Works across web and Electron targets, with deterministic replays and debugging workflows.

Quick Start

Enable js_repl in Codex config and start a new persistent Playwright session against your local workspace to begin iterative UI debugging.

Frequently Asked Questions about playwright-interactive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I maintain a persistent Playwright session across debugging iterations?

To maintain a persistent Playwright session, enable js_repl in Codex config and run with sandbox settings permitting browser automation. This reuses handles, contexts, and pages across iterations for local web and Electron debugging.

Can I reuse browser contexts and windows when debugging Electron apps?

Yes, you can reuse browser contexts and windows when debugging Electron apps. The session preserves these handles across runs and reloads, enabling deterministic QA workflows without restarting tooling or losing state.

What is the best way to speed up iterative UI debugging for local web apps?

The best way to speed up iterative UI debugging is using a persistent Playwright session. It eliminates the need to restart tooling by reusing handles and contexts across runs, enabling fast and deterministic QA cycles.

Does persistent Playwright debugging require specific sandbox settings?

Yes, persistent Playwright debugging requires specific sandbox settings. You must run with sandbox configurations that explicitly permit browser automation during debugging alongside enabling js_repl in Codex config.

Why do I lose my browser handles when restarting Playwright for QA checks?

You lose browser handles because standard Playwright sessions are stateless upon restart. Using a persistent session resolves this by maintaining handles, contexts, and windows across iterations, preventing state loss during QA checks.

When do I need a persistent Playwright session for web and Electron targets?

You need a persistent Playwright session for web and Electron targets when performing fast iterative UI debugging. It is required for deterministic replays and workflows that must reuse handles without losing state across runs.