Skip to content

playwright

Version 2026.144.1443
Repo superproject

Installs the Playwright browser-automation CLI globally via npm so playwright is on PATH (OpenClaw AI snapshots). The candy depends on nodejs and ships a package.json pinning the playwright npm package, which the build installs globally under NPM_CONFIG_PREFIX (~/.npm-global). The result is verifiable: the playwright binary lands at ~/.npm-global/bin/playwright, the package is unpacked under ~/.npm-global/lib/node_modules/playwright, playwright --version exits cleanly and prints a semantic version, and playwright --help lists the core automation commands (install, codegen) that define the CLI surface.

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
check the playwright binary is installed into the npm global bin directory
check the playwright package is unpacked under the npm global lib directory
check running playwright –version exits cleanly and prints a semantic version
check running playwright –help lists the install and codegen automation commands