Skip to main content
Glama

Playwright MCP Server

by BhanuTJ93
MIT License
9,457
  • Linux
  • Apple

playwright_console_logs

Filter and retrieve browser console logs by type, search text, or limit, with optional clearing after retrieval for efficient debugging and monitoring in web automation tasks.

Instructions

Retrieve console logs from the browser with filtering options

Input Schema

NameRequiredDescriptionDefault
clearNoWhether to clear logs after retrieval (default: false)
limitNoMaximum number of logs to return
searchNoText to search for in logs (handles text with square brackets)
typeNoType of logs to retrieve (all, error, warning, log, info, debug, exception)

Input Schema (JSON Schema)

{ "properties": { "clear": { "description": "Whether to clear logs after retrieval (default: false)", "type": "boolean" }, "limit": { "description": "Maximum number of logs to return", "type": "number" }, "search": { "description": "Text to search for in logs (handles text with square brackets)", "type": "string" }, "type": { "description": "Type of logs to retrieve (all, error, warning, log, info, debug, exception)", "enum": [ "all", "error", "warning", "log", "info", "debug", "exception" ], "type": "string" } }, "required": [], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BhanuTJ93/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server