playwright_console_logs
Fetch and filter browser console logs by type, search text, or limit results. Optionally clear logs after retrieval for streamlined debugging in the Playwright MCP Server environment.
Instructions
Retrieve console logs from the browser with filtering options
Input Schema
Name | Required | Description | Default |
---|---|---|---|
clear | No | Whether to clear logs after retrieval (default: false) | |
limit | No | Maximum number of logs to return | |
search | No | Text to search for in logs (handles text with square brackets) | |
type | No | Type of logs to retrieve (all, error, warning, log, info, debug, exception) |