Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.
Utility skill
Automate a real browser from the terminal with playwright-cli, preferably through the bundled wrapper script.
Record one Markdown log per run:
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export SKILL_LOGGER="$CODEX_HOME/skills/fitgpt-dev-orchestrator/scripts/skill_run_log.py"
RUN_LOG=$(python3 "$SKILL_LOGGER" --skill "playwright" --action "automate <browser-flow>" --status started)
# ...run the browser flow...
python3 "$SKILL_LOGGER" --skill "playwright" --action "automate <browser-flow>" --status success --log-file "$RUN_LOG"
# on failure: use --status failure
npx is available.export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh"
"$PWCLI" over a global install.eval or run-code.--headed when visual verification helps.output/playwright/.