Get Browser Page Errors
browser_page_errorsRead uncaught JavaScript exceptions thrown by a web page to detect crashes where scripts stop running without console.error calls. Use it when a page seems stuck or a feature silently does nothing.
Instructions
Read uncaught JavaScript exceptions thrown by the page (window "error" events / unhandled errors in page scripts). Different from browser_console_logs: console_logs only captures explicit console.log/warn/error calls, this captures real crashes — a script that threw and stopped running, even if it never called console.error itself. Check this whenever a page seems "stuck" or a feature silently does nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_page_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Force a specific mode. Defaults to extension. | |
| sessionId | No | Puppeteer session ID for headless mode. Skips mode selection. |