playwright_console_logs
Retrieve and filter browser console logs for analysis. Supports searching, type-based filtering, and clearing logs. Enhance debugging and monitoring within web automation workflows.
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) |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Playwright MCP Server
- clear_codegen_session
- end_codegen_session
- get_codegen_session
- playwright_assert_response
- playwright_click
- playwright_close
- playwright_console_logs
- playwright_custom_user_agent
- playwright_delete
- playwright_drag
- playwright_evaluate
- playwright_expect_response
- playwright_fill
- playwright_get
- playwright_get_visible_html
- playwright_get_visible_text
- playwright_go_back
- playwright_go_forward
- playwright_hover
- playwright_iframe_click
- playwright_navigate
- playwright_patch
- playwright_post
- playwright_press_key
- playwright_put
- playwright_save_as_pdf
- playwright_screenshot
- playwright_select
- start_codegen_session
Related Tools
- @ztobs/cline-browser-use-mcp
- @robertheadley/chrome-debug-mcp
- @GeLi2001/datadog-mcp-server
- @mabeldata/pocketbase-mcp
- @browserbase/mcp-server-browserbase