Dynamic network chaos in Playwright: 503s, latency, mid-flight drops
Dynamic network chaos in Playwright: 503s, latency, mid-flight drops
An MCP server that gives AI agents dynamic network chaos control over Playwright browser sessions.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| simulate_api_failure | Intercepts requests matching a pattern and forces them to return an error status code. Checks if the app shows a fallback UI. |
| inject_latency | Adds artificial delay to matching requests. Checks if loading states appear while the app waits. |
| block_resources | Aborts requests to specified URL patterns — for testing third-party outages (analytics, CDNs, tracking pixels). |
| simulate_network_drop | Aborts requests mid-flight after a delay — simulating connection loss between request and response. |
| trigger_system_network_error | Aborts requests with an OS-level error code — simulating DNS failures, firewall blocks, and connection resets. |
| simulate_stateful_failure | Fails the first N requests then lets subsequent ones succeed — testing retry logic and recovery flows. |
| inject_response_corruption | Serves malformed responses at the protocol level — unterminated JSON, content-length lies, or truncated payloads. |
| assert_chaos_handled | Injects a chaos HTTP status and returns a structured pass/fail verdict — chaos_survived is true only when the fallback UI appears and there are no unhandled JS exceptions. |
{
"mcpServers": {
"playwright-network-chaos-mcp": {
"command": "npx",
"args": [
"-y",
"playwright-network-chaos-mcp"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
The original Chromium automation reference server — simple, screenshot-driven browser control.
The Bright Data MCP server gives AI agents real-time access to public web data. It exposes 69 tools covering:
A real browser for your agent: a page to clean text for $0.009, a 25-page site for $0.14. x402.
BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
Local tools for planning and validating focused browser-game prototypes.