test
Installation
SKILL.md
chrome-use test — browser test suites
Turn the repetitive "open it, click around, check it's right" work into a re-runnable suite, like unit tests for the frontend. Every time you find a regression, add a case — the suite gets more valuable the more you use it.
chrome-use test <suite.yaml> [--launch | --session <name>] [--json]
- Exit code 0 if all cases pass, 1 if any fail → drop it straight into CI.
- Default: launches a fresh isolated browser (deterministic, repeatable) in a
cu-testsession and closes it after. Pass--session <name>to run against an already-connected session (e.g. the live Chrome viachrome-use extension connect). - Failed cases auto-save a screenshot to
cu-test-artifacts/<case>.png.