testdriver:debugging-with-screenshots
БесплатноБез исполняемых скриптовНе проверенView and analyze saved screenshots using MCP commands for test debugging and development
от testdriverai★ 342 звезды на GitHubОб этом скилле
Overview
TestDriver MCP provides powerful commands to view and analyze screenshots saved during test execution. This enables rapid debugging, test development, and comparison workflows without manually opening image files.
MCP Commands
list_local_screenshots
List and filter screenshots saved in the .testdriver/screenshots/ directory:
list_local_screenshots()
Filter Parameters:
Returns:
Array of screenshot metadata including:
path- Full absolute path to the screenshot filerelativePath- Path relative to.testdriver/screenshots/name- Screenshot filenamesizeBytes- File size in bytesmodified- Last modification timestampsequence- Sequential number (from auto-screenshots)action- Action type (click, find, etc.)phase- Before/after phaselineNumber- Line number from test filedescription- Element or action description
Example Responses:
// Basic listing
[
{
"path": "/Users/user/project/.testdriver/screenshots/login.test/001-click-before-L42-submit-button.png",
"relativePath": "login.test/001-click-before-L42-submit-button.png",
"name": "001-click-before-L42-submit-button.png",
"sizeBytes": 145632,
"modified": "2026-01-23T10:00:00.000Z",
"sequence": 1,
"action": "click",
"phase": "before",
"lineNumber": 42,
"description": "submit-button"
}
]
view_local_screenshot
View a specific screenshot from the list:
view_local_screenshot({ path: "/full/path/to/screenshot.png" })
Parameters:
Returns:
- Image content (displayed to both AI and user via MCP App)
- Screenshot metadata
- Success/error status
Common Workflows
Test Debugging After Failures
When a test fails, use powerful filtering to quickly find relevant screenshots:
1. Find screenshots at the failing line:
// If test failed at line 42
list_local_screenshots({ line: 42 })
// View before and after states at that line
view_local_screenshot({ path: ".testdriver/screenshots/login.test/005-click-before-L42-submit-button.png" })
view_local_screenshot({ path: ".testdriver/screenshots/login.test/006-click-after-L42-submit-button.png" })
2. See what happened leading up to the failure:
// Get screenshots from lines 35-45 to see context
list_local_screenshots({ directory: "login.test", lineRange: { start: 35, end: 45 } })
3. Find all assertion screenshots:
// See what the screen looked like during assertions
list_local_screenshots({ action: "assert" })
4. View the final state before failure:
// Get the last 5 screenshots in execution order
list_local_screenshots({ directory: "login.test", sortBy: "sequence", limit: 5 })
Finding Specific Actions
When debugging element interactions:
// Find all click actions
list_local_screenshots({ action: "click" })
// Find what the screen lo
Установить testdriver:debugging-with-screenshots в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл testdriver:debugging-with-screenshots?
View and analyze saved screenshots using MCP commands for test debugging and development
Как установить скилл testdriver:debugging-with-screenshots?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл testdriver:debugging-with-screenshots запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic