framework_eng/skills/tool-usage/browser-ui/playwright/SKILL.md
Browser UI automation: scenarios, forms, screenshots
npx skillsauth add steelmorgan/1c-agent-based-dev-framework playwrightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CLI-first browser automation. Do not pivot to @playwright/test unless explicitly asked.
For 1C:Enterprise UI, Playwright is not the preferred test or screenshot path for ordinary forms. First use the va-visual-check policy for Vanessa Automation/TestClient and VA MCP. Use Playwright/browser screenshots for 1C only as browser-layer work or as fallback under va-visual-check, recording the VA steps already attempted, why browser evidence is sufficient, and the residual risk.
command -v npx >/dev/null 2>&1
If missing, ask user to install Node.js/npm first.
export CODEX_HOME="${CODEX_HOME:-$HOME/.codex}"
export PWCLI="$CODEX_HOME/skills/playwright/scripts/playwright_cli.sh"
"$PWCLI" open https://playwright.dev --headed
"$PWCLI" snapshot
"$PWCLI" click e15
"$PWCLI" type "Playwright"
"$PWCLI" press Enter
"$PWCLI" screenshot
open the page.snapshot to get stable element refs.Re-snapshot after: navigation, UI-changing clicks, modals, tab switches, or stale-ref errors.
"$PWCLI" open https://example.com/form
"$PWCLI" snapshot
"$PWCLI" fill e1 "[email protected]"
"$PWCLI" fill e2 "password123"
"$PWCLI" click e3
"$PWCLI" snapshot
"$PWCLI" open https://example.com --headed
"$PWCLI" tracing-start
# ...interactions...
"$PWCLI" tracing-stop
"$PWCLI" tab-new https://example.com
"$PWCLI" tab-list
"$PWCLI" tab-select 0
"$PWCLI" snapshot
references/cli.mdreferences/workflows.mde12.eval and run-code.--headed when a visual check will help.output/playwright/.development
1C server maintenance webhooks: container restart and external component cache cleanup
development
Interactive DAP debugging of a single BSL procedure
tools
Rules for using RLM tools for project search and navigation in 1C/BSL
development
Creates web applications and routes on Winow (a web server on OneScript and Autumn). Use when working with a web server on OneScript, routing, or Winow controllers.