AGENT SKILL

Playwright 浏览器 UI 测试

browser-testing

在测试 localhost URL 或 Web UI 时使用。默认:隔离的无头 Playwright Chromium。仅在后台模式下使用智能体自有的配置文件;禁止更改个人浏览器和桌面。

适用职业测试工程师
License 许可
MIT
最近更新
2026-11-14
Stars
★ 6
Forks
0

01 前言 Front Matter

name
browser-testing
description
Use when testing localhost URLs or web UIs. Default: isolated headless Playwright Chromium. Aside only in background mode on an agent-owned profile; forbids personal browser and desktop changes.

02 资源文件 28

03 SKILL.md 正文

Browser testing — isolated headless default

Before choosing a tool, apply browser-control's personal browser isolation contract. Use isolated headless Playwright Chromium by default. Aside is usable in background mode on an agent-owned profile (aside-browser-default § Background mode). A visible test request does not permit a personal browser or app activation.

Aside (conditional): Use the Aside browser CLI or mcp__aside-mcp__* only in background mode on an agent-owned profile (aside-browser-default § Background mode); never activate it. Default testing remains isolated headless Playwright:

  • aside --account <agent-account> "Open http://localhost:8085 and screenshot the dashboard" — NL agent, easy
  • aside repl --account <agent-account> "const p = await openTab('http://localhost:8085'); const s = await snapshot(p); console.log(s.tree)" — deterministic
  • mcp__aside-mcp__* — when the runtime exposes the MCP server as a tool

Use mcp__playwright-mcp (headless) for localhost and isolated browser testing, including trace/video needs. Never use mcp__claude-in-chrome__* — that requires a connected Chrome extension and may touch the user's personal browser.

Do not use desktop-wide browser-default changes, rollback scripts, or other machine-wide browser configuration as part of a test task.

04 同仓库更多 Skills

jleechanorg
jleechanorg/jleechan-skills

disk-reclaim-playbook

Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.

★ 6
jleechanorg
jleechanorg/jleechan-skills

claudea-bench

Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr

Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).

★ 6
jleechanorg
jleechanorg/jleechan-skills

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.

★ 6
jleechanorg
jleechanorg/jleechan-skills

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

★ 6
jleechanorg
jleechanorg/jleechan-skills

pr-report

This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.

★ 6