browser_mock_url
Intercept browser requests matching a glob pattern and return a predefined response to simulate server behavior or inject faults. Use this to test error handling or mock APIs.
Instructions
Fulfill requests matching a glob pattern with a canned response (response mocking / fault injection). Cleared by browser_unblock_urls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| status | No | ||
| body | No | ||
| content_type | No | text/plain | |
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |