ConsoleLogs icon

ConsoleLogs

Captures console logs and tracks network requests from a Playwright browser instance.

About

This server utilizes Playwright to launch a browser, meticulously monitor console logs, and track network requests. It then exposes these capabilities as tools accessible to Model Context Protocol (MCP) clients, providing a structured way to retrieve browser activity data.

Key Features

  • Tracks and retrieves network requests made by the browser.
  • Closes the browser upon request.
  • Monitors and retrieves console logs from the browser.
  • Opens a browser at a specified URL using Playwright.
  • Exposes functionalities via Model Context Protocol (MCP).
  • 4 GitHub stars

Use Cases

  • Automating browser tasks and extracting data using Playwright.
  • Auditing network traffic generated by a web application.
  • Debugging web applications by inspecting console output.
Craft Better Prompts with AnyPrompt