get_console_logs
Capture browser console logs including errors and warnings to debug JavaScript issues during test automation.
Instructions
Capture and retrieve browser console logs (errors, warnings, info, debug) from a web page. Essential for debugging JavaScript issues.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "get_console_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| filter | No | ||
| browser | No | ||
| maxLogs | No | ||
| waitTime | No | ||
| executeScript | No |