playwright-evidence

Capture Playwright test screenshots, videos, and traces on failure.

8|2|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/SebastienDegodez/skraft-plugin --skill playwright-evidence
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-evidence
Source: https://github.com/SebastienDegodez/skraft-plugin/tree/main/plugins/skills/playwright-evidence
Command: npx skills add https://github.com/SebastienDegodez/skraft-plugin --skill playwright-evidence

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the capture and storage of E2E test evidence, such as screenshots, videos, and traces, for Playwright tests, simplifying the process of maintaining test evidence.

Core Features & Use Cases

  • Automated Evidence Capture: Capture screenshots, videos, and traces on test failure.
  • Evidence Storage: Store captured evidence in a structured format for easy access.
  • Use Case: When running E2E tests, this Skill automatically captures evidence on failure, ensuring that all necessary information is available for debugging and review.

Quick Start

Configure the playwright evidence skill in your Playwright test setup and run your tests. Evidence will be automatically captured and stored in the specified location.

Frequently Asked Questions about playwright-evidence

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically capture screenshots and videos on Playwright test failure?

You can automatically capture screenshots and videos on Playwright test failure by configuring an automated evidence capture mechanism that triggers media generation upon test errors and stores the files in a structured format for debugging.

What is the best way to store E2E test evidence like traces and videos for debugging?

The best way to store E2E test evidence is using an automated system that organizes captured traces, videos, and screenshots into a structured storage format immediately after test execution, ensuring easy access for later review.

Do I need Playwright installed to use automated E2E test evidence capture?

Yes, you need Playwright installed and properly configured in your test environment, as the automated E2E test evidence capture relies on Playwright's execution context and related configurations to trigger and store media on failure.

How does automated test evidence capture simplify E2E testing workflows?

Automated test evidence capture simplifies E2E testing workflows by eliminating manual media collection, automatically saving screenshots, videos, and traces upon test failure so developers have immediate access to debugging information.

Can I capture traces on failure without manually configuring Playwright test scripts?

Yes, you can capture traces on failure without manual configuration by integrating an automated evidence skill into your Playwright setup, which handles the triggering and structured storage of traces automatically during test runs.