network-mock-server

Community

Deterministic API mocking for Playwright tests.

Authoranouar1991
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Intercept and mock API responses during automated tests to create deterministic, offline-capable test runs.

Core Features & Use Cases

  • Record baseline API responses from a real run to establish a stable reference.
  • Replay those responses deterministically across navigations.
  • Modify response fields, add latency, and simulate errors per endpoint.
  • Persist mocks across page navigations using Playwright's page.route and optional CDP Fetch domain.

Quick Start

Record baseline API responses for your target page, then configure deterministic mocks to replay, modify, and simulate latency or errors across navigations.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: network-mock-server
Download link: https://github.com/anouar1991/binaryPetsClaude/archive/main.zip#network-mock-server

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.