[sandbox]
name = "playwright-stealth"
base_image = "python:3.12-slim"
init_script = """
set -e
pip install --quiet playwright playwright-stealth
playwright install --with-deps chromium
"""
[resources]
vcpus = 2
memory_mb = 2048
[security]
profile = "moderate"
[security.domains]
allow = ["pypi.org", "files.pythonhosted.org", "playwright.azureedge.net"]
[template]
description = "Stealth browser automation that avoids bot detection"
category = "Browser Automation"
help_text = """
How to use: Start the sandbox and run your workflow inside /workspace.
Example command: ls -la /workspace
Binaries available: python, pip
Services and ports: No long-running service is configured by default; only explicitly mapped ports are exposed.
"""