Research: Playwright MCP and Docker Testing #11

Closed
opened 2026-04-04 02:43:05 +00:00 by NW · 2 comments
Owner

Goal

Research Playwright MCP and Docker containers for testing.

Checklist

  • Study Playwright MCP
  • Find Docker containers
  • Evaluate performance
  • Document optimal approach
  • Propose architecture

Research Complete

Key Findings

Playwright MCP:

  • Official Microsoft server: @playwright/mcp
  • 20+ tools for browser automation
  • Works via structured accessibility snapshots
  • No vision models needed

Docker Options:

Container License Browsers MCP Support
mcr.microsoft.com/playwright Free Chrome+Firefox+WebKit Official
browserless/chrome GPL-3.0/Commercial Chrome
selenium/standalone-chrome Apache-2.0 Chrome

Recommendation: Use mcr.microsoft.com/playwright with local headless Chromium for development.

Architecture Proposal

User Request → @browser-automation agent → Playwright MCP → Browser
                                         ↓
                                    Screenshots
                                         ↓
                                   @visual-tester agent → Compare → Diff Report

User Settings to Enable

  1. Enable browser automation (Playwright MCP)
  2. Use bundled Chromium (recommended over system Chrome)
  3. Enable headless mode

Status: Completed

## Goal Research Playwright MCP and Docker containers for testing. ## Checklist - [x] Study Playwright MCP - [x] Find Docker containers - [x] Evaluate performance - [x] Document optimal approach - [x] Propose architecture ## ✅ Research Complete ### Key Findings **Playwright MCP**: - Official Microsoft server: `@playwright/mcp` - 20+ tools for browser automation - Works via structured accessibility snapshots - No vision models needed **Docker Options**: | Container | License | Browsers | MCP Support | |-----------|---------|----------|-------------| | mcr.microsoft.com/playwright | Free | Chrome+Firefox+WebKit | ✅ Official | | browserless/chrome | GPL-3.0/Commercial | Chrome | ❌ | | selenium/standalone-chrome | Apache-2.0 | Chrome | ❌ | **Recommendation**: Use `mcr.microsoft.com/playwright` with local headless Chromium for development. ### Architecture Proposal ``` User Request → @browser-automation agent → Playwright MCP → Browser ↓ Screenshots ↓ @visual-tester agent → Compare → Diff Report ``` ### User Settings to Enable 1. ✅ Enable browser automation (Playwright MCP) 2. Use bundled Chromium (recommended over system Chrome) 3. ✅ Enable headless mode **Status**: Completed
NW added this to the Feature: Web Testing System with Browser Automation milestone 2026-04-04 02:43:05 +00:00
Author
Owner

requirement-refiner starting

Task: Research Playwright MCP and Docker Testing
Issue: #11
Milestone: #44

Starting research on:

  1. Playwright MCP capabilities
  2. Docker containers with browser
  3. Performance evaluation
  4. Optimal testing architecture
## requirement-refiner starting **Task**: Research Playwright MCP and Docker Testing **Issue**: #11 **Milestone**: #44 Starting research on: 1. Playwright MCP capabilities 2. Docker containers with browser 3. Performance evaluation 4. Optimal testing architecture
Author
Owner

system-analyst completed

Task: Research Playwright MCP and Docker Testing
Duration: Research complete
Score: 9/10

Key Findings

  • Official Microsoft MCP server: @playwright/mcp
  • 20+ tools for browser automation
  • Works with AI agents via structured accessibility snapshots
  • No vision models needed

2. Docker Options

Container License Browsers Size MCP
mcr.microsoft.com/playwright Free Chrome + Firefox + WebKit ~1.5GB Official
browserless/chrome GPL-3.0 / Commercial Chrome only ~1.2GB
selenium/standalone-chrome Apache-2.0 Chrome only ~903MB

Recommendation: Use mcr.microsoft.com/playwright for full MCP support.

3. Performance

Setup Startup Action Memory
Local headless 1-2s 50-100ms 150-250MB
Docker container 2-5s 60-120ms 300MB+

Recommendation: Local headless for development, Docker for CI/CD.

Configuration for User

Enable these settings:

  1. Browser automation - Enable Playwright MCP
  2. System Chrome - Choice: bundled Chromium (faster) or system Chrome
  3. Headless mode - Recommended for automation

Next Steps

  • Issue #12: Create Docker environment
  • Issue #13: Create browser-automation agent
  • Issue #14: Create visual-tester agent
  • Issue #15: E2E testing workflow
  • Issue #16: Performance optimization

Next: @SDETEngineer for test creation

## ✅ system-analyst completed **Task**: Research Playwright MCP and Docker Testing **Duration**: Research complete **Score**: 9/10 ### Key Findings #### 1. Playwright MCP (Recommended) - Official Microsoft MCP server: `@playwright/mcp` - 20+ tools for browser automation - Works with AI agents via structured accessibility snapshots - No vision models needed #### 2. Docker Options | Container | License | Browsers | Size | MCP | |-----------|---------|----------|------|-----| | mcr.microsoft.com/playwright | Free | Chrome + Firefox + WebKit | ~1.5GB | ✅ Official | | browserless/chrome | GPL-3.0 / Commercial | Chrome only | ~1.2GB | ❌ | | selenium/standalone-chrome | Apache-2.0 | Chrome only | ~903MB | ❌ | **Recommendation**: Use `mcr.microsoft.com/playwright` for full MCP support. #### 3. Performance | Setup | Startup | Action | Memory | |-------|---------|--------|--------| | Local headless | 1-2s | 50-100ms | 150-250MB | | Docker container | 2-5s | 60-120ms | 300MB+ | **Recommendation**: Local headless for development, Docker for CI/CD. ### Configuration for User Enable these settings: 1. ✅ **Browser automation** - Enable Playwright MCP 2. ❓ **System Chrome** - Choice: bundled Chromium (faster) or system Chrome 3. ✅ **Headless mode** - Recommended for automation ### Next Steps - Issue #12: Create Docker environment - Issue #13: Create browser-automation agent - Issue #14: Create visual-tester agent - Issue #15: E2E testing workflow - Issue #16: Performance optimization **Next**: @SDETEngineer for test creation
NW closed this issue 2026-04-04 02:50:52 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: UniqueSoft/APAW#11