playwright
Run Playwright end-to-end tests — execute, filter, and download the HTML report
от fisker086★ 25 звёзд на GitHub
Установить playwright в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Playwright E2E Test Skill
Run Playwright end-to-end tests from the e2e/ directory. Supports running all tests, filtering by file, and returning the HTML test report as a downloadable file (inline in web chat, file attachment in IM).
Use builtin_playwright tool with fields:
action: The action to perform. Options:"run"(default): Run Playwright tests and return the HTML report file"install": Install Playwright browsers"list": List available tests without running"report": Retrieve the latest test report without re-running
files: Comma-separated test file paths to run (e.g.,"tests/auth.spec.ts"). Empty = run all tests.headed: Run with browser GUI visible —"true"or"false"(default:"false", headless).project: Playwright project name (default:"chromium"). Other options:"firefox","webkit".workers: Number of parallel workers (default:"2"). Use"1"for serial execution.retries: Number of retries on failure (default:"1"). Use"0"for no retries.timeout: Per-test timeout in milliseconds (default:"60000").
Result:
- Returns the terminal output including pass/fail counts, durations, and failed test names.
- The HTML report is auto-delivered as a file:
- Web chat: shown as a downloadable link in the conversation
- IM (Lark/DingTalk/Telegram/QQ): sent as a file attachment
- If the
e2e/directory is not found (e.g., production Docker image without source), the skill reports this clearly.
Example usage:
- "帮我跑一下 E2E 测试" → runs all tests, returns results + report file
- "只跑 auth 的测试" →
files="tests/auth.spec.ts" - "看看报告" →
action="report" - "列出所有测试" →
action="list"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл playwright?
Run Playwright end-to-end tests — execute, filter, and download the HTML report
Как установить скилл playwright?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл playwright запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…