Sign inSign up

sbx/playwright:1.61.1

Multi-platform
Manifest digest

sha256:3dcf0376e157e41629d98ed7f1a70a733d4fee40ddb70a591eeb86e9bdf87cb3

Last pushed

about 7 hours by sbx

Type

Sandbox Kit

Manifest digest

sha256:3dcf0376e157e41629d98ed7f1a70a733d4fee40ddb70a591eeb86e9bdf87cb3

yaml
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