console
Retrieve buffered browser tab log messages and uncaught page errors, filter by level or pattern, and clear the buffer after reading.
Instructions
Console messages and uncaught page errors of a tab, buffered from tab creation (at most 500): "[level] hh:mm:ss.mmm message (url:line)". level error|warning (warnings and errors)|all; pattern is a substring or /regex/; clear empties the buffer after reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id such as "t3"; default is the active tab | |
| clear | No | ||
| level | No | ||
| limit | No | Most recent N, default 50 | |
| pattern | No |