console_logs
Retrieve console logs and uncaught errors from a Chrome tab to diagnose page misbehavior. Poll for new entries with sinceSeq or clear the buffer.
Instructions
Console output and uncaught errors recorded on the page (requires --enable-observers). This is how you find out WHY a page misbehaved rather than only what it looks like afterwards. Pass sinceSeq to poll for what is new, clear:true to drain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Empty the buffer after reading | |
| level | No | Only entries at this level | |
| limit | No | Max entries to return (default 200) | |
| tabId | No | Target tab id (defaults to the active tab) | |
| frameId | No | Act inside this frame (ids come from frames_list) | |
| sinceSeq | No | Only entries newer than this seq (from a previous call) | |
| allFrames | No | Search every frame of the tab and act on the first that matches - use when a selector should match but does not (the element is in an iframe) |