console_monitor
Track and analyze console logs from a specified URL, filtering by message types like log, info, warning, or error, within a set duration. Optionally trigger monitoring after user interaction.
Instructions
Monitor console logs on a page
Input Schema
Name | Required | Description | Default |
---|---|---|---|
duration | No | How long to monitor in milliseconds. Default: 5000 | |
filterTypes | No | Types of console messages to capture | |
interactionSelector | No | Optional element to click before monitoring | |
url | Yes | URL to monitor console logs from |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"description": "How long to monitor in milliseconds. Default: 5000",
"type": "number"
},
"filterTypes": {
"description": "Types of console messages to capture",
"items": {
"enum": [
"log",
"info",
"warning",
"error"
],
"type": "string"
},
"type": "array"
},
"interactionSelector": {
"description": "Optional element to click before monitoring",
"type": "string"
},
"url": {
"description": "URL to monitor console logs from",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}