sha256:290af3a197bf5ce7b3be0c8b35fa43e7c61954c87a1f84cf7618c2e2437fd9b7
Last pushed
about 15 hours by sbx
Type
Sandbox Kit
Manifest digest
sha256:290af3a197bf5ce7b3be0c8b35fa43e7c61954c87a1f84cf7618c2e2437fd9b7
schemaVersion: "3"
displayName: Playwright
description: Playwright browser-automation toolchain for sandbox agents — the playwright CLI and @playwright/test v1.61.1 with Chromium, installed to a shared system browsers path so the agent user can run headless browser automation and end-to-end tests entirely inside the sandbox.
kind: mixin
provides:
- [email protected]
capabilities:
- type: com.docker.sandbox/network-policy@1
config:
install:
allow:
- deb.debian.org
- dhi.io
- archive.ubuntu.com
- security.ubuntu.com
- ports.ubuntu.com
- download.docker.com
- cli.github.com
runtime:
allow:
- cdn.playwright.dev
- playwright.download.prss.microsoft.com
- storage.googleapis.com
- type: com.docker.sandbox/lifecycle@1
config:
install:
- command: |
set -euo pipefail
if ! command -v node >/dev/null 2>&1; then
apt-get update
apt-get install -y --no-install-recommends nodejs-24
fi
playwright install-deps chromium
rm -rf /var/lib/apt/lists/*
description: Install Node and Chromium system libraries
env:
- HTTP_PROXY
- HTTPS_PROXY
user: "0"
- type: com.docker.sandbox/agent-context@1
config:
contentFile: /usr/share/sandbox/kit/playwright/playwright-context.md