playwright-interactive

Maintains a persistent Playwright session to debug web and Electron apps across iterations.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/idontcarl/landing-page --skill playwright-interactive-idontcarl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-interactive
Source: https://github.com/idontcarl/landing-page/tree/main/skills/openai-skills/skills/.curated/playwright-interactive
Command: npx skills add https://github.com/idontcarl/landing-page --skill playwright-interactive-idontcarl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent browser and Electron debugging sessions enable rapid UI QA without restarting the toolchain between iterations, saving time when diagnosing flaky behavior or visual regressions.

Core Features & Use Cases

  • Persistent Playwright session across runs for web and Electron apps.
  • Shared handles (page, context, appWindow) to reduce reinitialization overhead.
  • Unified QA workflow combining functional checks and visual verifications in a single session.
  • Easy session reuse after code changes, with optional Electron session restart when needed.

Quick Start

Enable js_repl, install Playwright in the workspace, and start a persistent Playwright session to begin debugging a local web or Electron app.

Frequently Asked Questions about playwright-interactive

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

FAQPage Schema
How do I keep a Playwright session persistent across multiple test runs?

To keep a Playwright session persistent across runs, you need a js_repl-enabled environment that maintains shared page, context, and app handles without reinitializing them between iterations. This preserves cross-run state for iterative UI QA workflows.

Can I debug an Electron app and a web app in the same Playwright session?

Yes, you can debug both Electron and web apps in the same persistent Playwright session. It provides shared handles across pages, contexts, and windows, allowing unified functional checks and visual verifications for both application types.

What do I need to set up a persistent Playwright session for iterative QA?

To set up a persistent Playwright session, you need a working js_repl-enabled Codex environment, a Playwright installation in your workspace, and appropriate sandbox settings configured to preserve session state across code changes.

Why does my Playwright context reset when debugging UI regressions across iterations?

Your Playwright context resets across iterations because standard sessions reinitialize handles each run. Using a persistent Playwright session with js_repl maintains shared page, context, and appWindow handles to prevent state loss during UI regression debugging.

Does Playwright support reusing the same browser context after code changes?

Playwright supports reusing the same browser context after code changes by enabling a persistent session. This approach avoids reinitialization overhead, and you can optionally restart the Electron session specifically when deeper application state changes are needed.

What is the best way to debug flaky UI behavior without restarting the toolchain?

The best way to debug flaky UI behavior without restarting the toolchain is maintaining a persistent Playwright session. It preserves browser and Electron handles across runs, saving time when diagnosing visual regressions or flaky interactions during iterative testing.