error-injection-tester

Inject controlled failures into web applications to validate error handling.

1|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/anouar1991/binaryPetsClaude --skill error-injection-tester
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-injection-tester
Source: https://github.com/anouar1991/binaryPetsClaude/tree/main/plugins/playwright-toolkit/skills/error-injection-tester
Command: npx skills add https://github.com/anouar1991/binaryPetsClaude --skill error-injection-tester

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill systematically injects controlled failures into a running web application to evaluate its resilience, error boundaries, and fallback behaviors. It records responses, captures screenshots, and logs console output to support robust recovery and UX improvements.

Core Features & Use Cases

  • Offline mode and network failure simulations to verify offline and degraded operation.
  • Blocked resources (CSS/JS/images) and API error interception to test graceful degradation.
  • JavaScript exceptions, unhandled rejections, and error boundary verification across pages.
  • Slow network (3G) emulation and load-state analysis for performance debugging.
  • LocalStorage quota tests and recovery strategies for storage-bound apps.

Quick Start

Start error-injection-tester against your target app to begin injecting failures and collecting results.

Frequently Asked Questions about error-injection-tester

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

FAQPage Schema
How do I test web application resilience by injecting network failures?

You can test web application resilience by injecting controlled network failures like offline mode and slow 3G conditions. This systematically validates error boundaries, verifies fallback behaviors, and records screenshots to support robust recovery and UX improvements.

Can I simulate API error responses and blocked resources for QA testing?

Yes, you can simulate API error responses and block critical resources like CSS, JS, and images. This intercepts requests to test graceful degradation, verifying how the web application UI handles missing dependencies and failed data fetches.

How do I verify JavaScript error boundaries and unhandled rejections during testing?

You verify JavaScript error boundaries by injecting exceptions and unhandled rejections into the loaded target page. The tester logs console output to evaluate whether the web application captures errors properly and renders appropriate fallback UI components.

Does resilience testing work with localStorage quota scenarios in Chromium browsers?

Yes, resilience testing supports localStorage quota scenarios in Chromium-based browsers. It injects storage limits to evaluate recovery strategies and verify that storage-bound web applications handle quota exceeded errors gracefully without crashing.

Do I need a Playwright MCP server to run error injection tests?

Yes, you need a connected and responding Playwright MCP server, a Chromium-based browser, and a loaded target page. These prerequisites allow the tester to instrument the web application and capture a baseline before injecting controlled failures.