The Playwright browser-automation CLI for OpenCharly images.
The playwright candy installs the playwright npm package globally, so the
playwright binary is on PATH for AI-agent browser snapshots and scripted
browser automation.
| Property | Value |
|---|---|
| Layer / candy | playwright |
| Binary | ~/.npm-global/bin/playwright |
| Install | global npm install (package.json) under NPM_CONFIG_PREFIX (~/.npm-global) |
| Requires | layer-nodejs |
| Service / port | none |
Compose the layer by pinning this repo in a box's candy: list:
my-agent-box:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-playwright:v2026.239.1637'Then, inside the built image (or on a dev host):
playwright --version # prints a semantic version
playwright --help # lists install, codegen, and the other commands
playwright install chromium # download a browser buildThe candy's plan: asserts the binary and package are installed,
playwright --version exits cleanly, and playwright --help lists the install
and codegen commands that define the CLI surface.
charly.yml— theplaywright:candy entity (therequire:onlayer-nodejsand thecheck:assertions).package.json— pins theplaywrightnpm package installed globally..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Family skill:
/charly-hermes:playwright-layer(this repo carries noskill:entity — seeAGENTS.md) - Browser dependency:
/charly-coder:nodejs - Alternative automation:
/charly-check:cdp(Chrome DevTools Protocol) opencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella