Playwright Manager icon

Playwright Manager

Establishes a reliable bridge for Playwright browser automation by managing persistent MCP servers on a host machine for containerized development environments.

소개

This tool provides a robust solution for running Playwright browser automation within Docker or DevContainer environments, addressing the challenges of directly running browsers in containers and the common issue of Playwright MCP servers crashing. It utilizes PM2 to manage, monitor, and automatically restart multiple dedicated server processes on the host machine. This setup ensures reliable, persistent browser automation, accessible from any container via consistent port allocations and network bridging, eliminating manual setup, complex networking configurations, and server reliability issues.

주요 기능

  • Automatic process management and monitoring with PM2
  • Auto-recovery for crashed or unresponsive Playwright servers
  • Dedicated port allocation for various browser types (8931-8936)
  • Container-to-host connectivity via `host.docker.internal` or host IP
  • Zero-configuration setup with pre-configured browser settings and profiles
  • 0 GitHub stars

사용 사례

  • Developing with Playwright inside Docker containers
  • Ensuring reliable browser automation in DevContainer setups
  • Connecting containerized applications to host-based Playwright servers