# Playwright MCP Proxy Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# Playwright Browser Configuration
# =============================================================================
# Browser to use: chromium, firefox, webkit, msedge
PLAYWRIGHT_BROWSER=chromium
# Run browser in headless mode (true/false)
PLAYWRIGHT_HEADLESS=true
# Capabilities to enable (comma-separated): vision, pdf, testing, tracing
PLAYWRIGHT_CAPS=vision,pdf
# Output directory for playwright artifacts
PLAYWRIGHT_OUTPUT_DIR=/app/playwright-output
# Save session data between runs (true/false)
PLAYWRIGHT_SAVE_SESSION=true
# Save execution traces (true/false)
PLAYWRIGHT_SAVE_TRACE=false
# Timeout for actions in milliseconds
PLAYWRIGHT_TIMEOUT_ACTION=5000
# Timeout for navigation in milliseconds
PLAYWRIGHT_TIMEOUT_NAVIGATION=60000
# Image responses: allow or omit
PLAYWRIGHT_IMAGE_RESPONSES=allow
# =============================================================================
# Optional Playwright Configuration
# =============================================================================
# Device emulation (e.g., "iPhone 13", "Pixel 5")
# PLAYWRIGHT_DEVICE=
# Viewport size (e.g., "1920x1080")
# PLAYWRIGHT_VIEWPORT_SIZE=
# User data directory for persistent browser profile
# PLAYWRIGHT_USER_DATA_DIR=
# Storage state file for session persistence
# PLAYWRIGHT_STORAGE_STATE=
# Network filtering
# PLAYWRIGHT_ALLOWED_ORIGINS=https://*.example.com
# PLAYWRIGHT_BLOCKED_ORIGINS=https://ads.example.com
# Proxy server
# PLAYWRIGHT_PROXY_SERVER=http://proxy.example.com:8080
# Save video recording (on, off, retain-on-failure)
# PLAYWRIGHT_SAVE_VIDEO=
# =============================================================================
# Blob Storage Configuration
# =============================================================================
# Root directory for blob storage
BLOB_STORAGE_ROOT=/mnt/blob-storage
# Maximum size per blob in MB
BLOB_MAX_SIZE_MB=500
# Time-to-live for blobs in hours
BLOB_TTL_HOURS=24
# Size threshold in KB for using blob storage (vs inline)
BLOB_SIZE_THRESHOLD_KB=50
# Cleanup interval in minutes
BLOB_CLEANUP_INTERVAL_MINUTES=60
# =============================================================================
# Proxy Configuration
# =============================================================================
# Enable debug logging (true/false)
PROXY_DEBUG=false