block_resources
Simulate third-party outages by blocking requests to specified URL patterns, then verify that the page still loads and core content remains intact.
Instructions
Blocks requests to specified URL patterns — useful for simulating third-party outages (analytics, CDNs, tracking). Use to answer: does the app still load and function if Google Analytics or a CDN is down?
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page to test | |
| wait_ms | No | Milliseconds to wait after navigation before checking core content (default: 2000) | |
| viewport | No | Viewport size (default: 1280×720) | |
| block_patterns | Yes | Glob patterns for requests to block (e.g., ['**/analytics**', '*.doubleclick.net/**']) | |
| core_content_selector | No | CSS selector for core content that must still be present (e.g., '.main-content') |