Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
brianlovin avatar

Playwriter

  • 105 installs
  • 356 repo stars
  • Updated March 25, 2026
  • brianlovin/claude-config

Playwriter is a skill that drives the user's currently open Chrome tab via the Playwriter CLI to inspect live UI state, run scripted actions, and reproduce frontend issues.

About

Playwriter controls the user's currently open Chrome tab through the Playwriter CLI without launching a new browser. It inspects live UI state, runs scripted browser actions, captures console output, and reproduces frontend issues directly in the user's tab. A developer uses it to debug frontend behavior against real page state. It defaults to read-only inspection and announces destructive UI actions first.

  • Drives the user's currently open Chrome tab via the Playwriter CLI, no new browser launch
  • Inspects live UI state, captures console output, and reproduces frontend issues
  • Runs scripted click/type/hover/evaluate actions and accessibility snapshots

Playwriter by the numbers

  • 105 all-time installs (skills.sh)
  • Ranked #243 of 596 Debugging skills by installs in the Skillselion catalog
  • Data as of Aug 1, 2026 (Skillselion catalog sync)
At a glance

playwriter capabilities & compatibility

Capabilities
debugging · testing
Works with
chrome · playwright
Use cases
debugging · testing
From the docs

What playwriter says it does

Control the user's currently open Chrome tab through the Playwriter CLI (no new browser launch).
SKILL.md
Use this skill to drive the user's active Chrome tab via Playwriter.
SKILL.md
Prefer read-only inspection unless the task requires mutation.
SKILL.md
npx skills add https://github.com/brianlovin/claude-config --skill playwriter

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs105
repo stars356
Last updatedMarch 25, 2026
Repositorybrianlovin/claude-config

What it does

Debug frontend behavior by driving the user's live Chrome tab to inspect state and reproduce issues.

Who is it for?

Developers debugging live frontend state in their own Chrome tab

Skip if: Launching a fresh headless browser separate from the user's session

When should I use this skill?

You need to inspect live UI state, run browser actions, or reproduce a frontend bug in the open tab

What you get

Live page state inspected and frontend issues reproduced with exact IDs and logs

Files

SKILL.mdMarkdownGitHub ↗

Playwriter

Use this skill to drive the user's active Chrome tab via Playwriter.

Full documentation is available here: https://playwriter.dev/

Quick Start

1. Ensure the Playwriter extension is enabled (green) on the target tab. 2. Ensure CLI is available:

playwriter --version || npx -y playwriter --version

3. Create/attach a session:

playwriter session new

4. Run commands against that session:

playwriter -s 1 -e "console.log(await page.url())"

Core Workflow

1. Confirm connection and correct tab:

playwriter -s <session> -e "console.log(await page.url()); console.log(await page.title());"

2. Collect page structure when needed:

playwriter -s <session> -e "console.log(await accessibilitySnapshot({ page }))"

3. Execute targeted actions (click/type/hover/fetch/evaluate). 4. Pull logs and structured state via page.evaluate. 5. Summarize findings with exact IDs, timestamps, and observed state transitions.

Useful Commands

Get list rows/options from current app UI:

playwriter -s <session> -e "const rows = await page.getByRole('option').all(); console.log(rows.length);"

Read popup/hover content:

playwriter -s <session> -e "const row = page.getByRole('option').nth(0); await row.hover(); await page.waitForTimeout(700); console.log(await page.locator('[data-side]').first().innerText());"

Run arbitrary in-page debug code:

playwriter -s <session> -e "const out = await page.evaluate(() => ({ href: location.href })); console.log(out);"

Troubleshooting

  • If the session attaches to the wrong tab, click the extension icon on the intended tab and re-run playwriter session new.
  • If playwriter command is missing, use npx -y playwriter ... or install globally.
  • If execution errors suggest stale connection, create a fresh session.

Guardrails

  • Prefer read-only inspection unless the task requires mutation.
  • Announce destructive UI actions before running them.
  • When capturing logs, redact sensitive tokens/user data in summaries.

Related skills

Forks & variants (1)

Playwriter has 1 known copy in the catalog totaling 10 installs. They canonicalize to this original listing.

Debuggingfrontendtesting

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.