visual-regression-lab

Run Playwright visual regression tests across desktop and mobile browsers.

117|46|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/TheGoat395/Codex-Skills --skill visual-regression-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: visual-regression-lab
Source: https://github.com/TheGoat395/Codex-Skills/tree/main/skills/visual-regression-lab
Command: npx skills add https://github.com/TheGoat395/Codex-Skills --skill visual-regression-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill verifies the visual correctness of a website by checking screenshots, console errors, and network interactions, ensuring it renders correctly across multiple viewports and browsers.

Core Features & Use Cases

  • Visual QA: Execute visual quality checks to catch layout and rendering issues.
  • Viewport Checks: Test the website on desktop and mobile devices for consistency.
  • Console/Network Checks: Inspect console errors and failed network requests for debugging.
  • Overflow Detection: Identify elements that overflow their designated spaces.
  • Media and Canvas Verification: Validate images, videos, and canvas elements are rendering correctly.
  • Responsive Polish Review: Ensure interactive elements work as expected across different devices.

Quick Start

Use the visual-regression-lab skill to inspect the visual quality of my web application.

Frequently Asked Questions about visual-regression-lab

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

FAQPage Schema
How do I run visual regression tests to check UI consistency across desktop and mobile browsers?

You can perform visual regression testing by using Playwright to capture screenshots, inspect network and console logs, and validate images, videos, and canvas elements across desktop and mobile viewports to verify correct rendering and responsive design.

What does a visual regression test check for in a web application?

A visual regression test checks web applications by capturing screenshots, inspecting console errors and network interactions, detecting overflow issues, and validating the correct rendering of images, videos, and canvas elements across multiple viewports.

Can I test responsive design and cross-device compatibility without complex setup?

Yes, you can verify responsive design by running Playwright to test your web application on simulated desktop and mobile viewports, ensuring interactive elements work as expected and rendering remains consistent without needing physical devices.

How do I detect console errors and failed network requests during web quality assurance?

You detect console errors and failed network requests by inspecting browser logs captured during Playwright test execution, allowing you to debug rendering issues and network failures that impact visual quality and web stability.

Why does my web application render correctly on desktop but break on mobile viewports?

Mobile rendering breaks due to overflow issues or unhandled responsive layouts. Visual regression testing catches this by taking screenshots across mobile viewports, detecting elements that overflow their designated spaces, and verifying interactive elements work correctly.