console
Retrieve recent browser log messages and page errors to inspect what the page reported after an action. Filter to warnings and errors for quick troubleshooting.
Instructions
Recent console messages and page errors, newest last (observation only; not part of a trace). Returns {messages:[{type, text}]}, where type is the console method (log, info, warning, error, debug, ...) or pageerror; only_errors keeps warning, error and pageerror. Read it after an action to see what the page complained about.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| only_errors | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |