browser_get_console_logs
Retrieves recent console logs, warnings, runtime errors, and unhandled promise rejections from a browser page, with optional type filtering and buffer clearing.
Instructions
Retrieves recent console logs, warnings, runtime errors, and unhandled promise rejections from the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Whether to clear the console log buffer after reading (default: false). | |
| tabId | No | Optional tab ID. | |
| types | No | Filter logs by type (default: returns all types). |