get_console_logs
Fetch and filter console logs from browser pages to support debugging. Options include level, keyword filters, and buffer clearing.
Instructions
Get console output collected from the page.
Args: level: Filter by log level - "log", "warn", "error", or "info". keyword: Filter logs containing this keyword in the text. clear: If True, clear the log buffer after retrieval.
Returns: List of dicts with level, text, timestamp, and location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| level | No | ||
| keyword | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |