playwright_console_logs
Retrieve console logs from web pages, with options to filter by type, limit count, or clear logs after retrieval.
Instructions
Retrieve console logs captured so far
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "playwright_console_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Whether to clear logs after retrieval | |
| limit | No | Maximum number of logs to return | |
| type | No | Type of logs to retrieve |