page_console
Retrieve page console logs and errors captured at the protocol level, bypassing page-level hiding. Optionally clear the buffer after reading to filter repeated noise.
Instructions
DEBUG CORTEX: read the page's console output (log/warning/error) captured at the PROTOCOL level — the page cannot hide or patch it. Invisible debugger for AI agents: reproduce the bug, read what the page logged. Optionally filter noise by clearing after read. Returns JSON [{kind, text, url, line, ts}]. Auto-starts capture on first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Drain the buffer after reading (default: keep entries). | |
| page_id | Yes | ||
| session_id | Yes |