playwright-trace-decoder-mcp
JSON →MCP server for unpacking and analyzing Playwright trace.zip archives
Tools · 12
- get_test_metadata Returns browser, platform, viewport, test title, wall-clock start time from a trace.
- get_trace_summary Returns failing action, top-level error, and total action count from a trace.
- get_action_timeline Returns a paginated list of all actions with API names, locators, and timings.
- get_filtered_network_logs Returns only 4xx/5xx responses from network logs, stripping static assets.
- get_console_errors Returns JS exceptions and warnings from the browser console.
- get_element_state_at_failure Returns failing locator, error message, and raw before/after metadata.
- extract_trace_metadata_strict Returns format version, retry session breakdown, and HAR payload mode.
- get_aria_accessibility_tree Returns ARIA accessibility tree as compact YAML, defaulting to snapshot at failed action.
- get_dom_mutation_delta Returns set-diff of ARIA lines before vs after a specified action.
- map_locator_to_source Maps a failing locator to the exact source code file, line, and column.
- extract_critical_frames Extracts critical visual frames (screenshots) around the failure as base64 images.
- trim_trace_archive Trims a trace archive by removing screenshots outside the failure window to save storage.
★ 1 GitHub stars