extract_critical_frames
Extracts key screenshots from a Playwright trace around a test failure, pairing each frame with its test step title for root-cause analysis. Useful for debugging CI failures.
Instructions
Extracts key screencast screenshots (base64 JPEG) from a temporal window around a test failure or the end of the trace, resolved with their associated test step titles.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of screenshots to return (default 10) | |
| trace_path | Yes | Absolute path to trace.zip, or a URL (https://) to download it from | |
| lookback_ms | No | Lookback duration before failure in ms (default 5000) | |
| lookforward_ms | No | Lookforward duration after failure in ms (default 1000) |