Read buffered client console output
lol_cdp_console_tailRetrieve buffered browser console logs, warnings, and JavaScript exceptions for debugging frontend errors, component mounting, or UI scripts; call console start first.
Instructions
Retrieve buffered console logs, warnings, and runtime JavaScript exceptions recorded since the tailer was started or past a given cursor. Use this tool to inspect frontend errors, check component mounting logs, or debug UI scripts. Prerequisite: Must call lol_cdp_console_start first; fails if tailer is not running. For HTTP request traffic, use lol_cdp_network_tail instead. Behavior: Sequential integer cursors ensure gap-free incremental reading without skipping entries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Case-insensitive substring filter matching log message text | |
| level | No | Filter by console severity level, e.g. "error", "warning", "info", or "log" | |
| limit | No | Maximum number of entries to return (1-2000, default: 100) | |
| since | No | Lower timestamp bound in epoch milliseconds; excludes older entries | |
| until | No | Upper timestamp bound in epoch milliseconds; excludes newer entries | |
| cursor | No | Sequence cursor from a previous tail call for incremental polling | |
| targetId | No | Filter entries to a specific CDP renderer target ID |