[sandbox]
name = "playwright"
base_image = "python:3.12-slim"
init_script = """
set -e
pip install --quiet playwright
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 = "Browser automation with Playwright (Python)"
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.
"""