playwright-interactive

Automate persistent Playwright debugging sessions for local web and Electron apps.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill playwright-interactive-deep-polyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-interactive
Source: https://github.com/DEEP-PolyU/matopt-xlab/tree/main/backend/skills/playwright-interactive
Command: npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill playwright-interactive-deep-polyu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables persistent Playwright sessions to debug local web or Electron apps without restarting the toolchain, preserving handles and context across iterations for faster QA loops.

Core Features & Use Cases

  • Persistent Playwright session management for web and Electron apps
  • Reusable browser/electron contexts, page handles, and helper utilities for QA and debugging
  • Use case: iterate UI tests against a local app and capture screenshots/evidence without losing state

Quick Start

Start a persistent Playwright session in the current workspace and begin debugging your local 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 for debugging local web apps?

A persistent Playwright session preserves browser handles and context across iterations, allowing you to debug local web apps without restarting the toolchain. It bootstraps Playwright with a stable context for faster QA loops.

Can I use Playwright to automate UI QA for Electron apps?

Yes, Playwright supports automating UI QA for Electron apps. The session reuses Electron contexts and page handles, enabling iterative testing and evidence capture without losing state between test runs.

How do I capture QA evidence and screenshots during Playwright debugging?

You can capture QA evidence during Playwright debugging using built-in evidence capture utilities. These operate within the persistent session to take screenshots and record UI states during iterative testing.

Do I need to enable js_repl to start a persistent Playwright session?

Yes, enabling js_repl is required to start a persistent Playwright session. The runtime must also start with appropriate sandbox permissions to bootstrap Playwright with a persistent context and proper page management.

What is the best way to iterate UI tests without losing browser state?

The best way to iterate UI tests without losing state is using a persistent Playwright session. It maintains reusable browser contexts and page handles across iterations, preventing state loss and accelerating debugging loops.

Why does my Playwright context reset between debugging iterations?

Your Playwright context resets because it lacks a persistent session configuration. Bootstrapping Playwright with a persistent context preserves handles and state across iterations, preventing unwanted resets during QA.