browser-test
What it does
This skill guides an agent to test a user interface in a real browser, checking flows, text and page titles, and keeping each run as a replayable record. It is for developers and testers who want frontend changes checked in a real browser.
When to use it
- ✓When you want to verify that a user flow works in a real browser.
- ✓When you want a baseline recording that future changes can be compared against.
- ✓When a failing browser test needs to be re-run without rewriting it.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-browser/skills/browser-test/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Test the signup flow in a real browser, check the welcome text appears, and save the run so I can replay it.”
5 new skills a week. 1 minute to read.
How it works
The agent records a session, performs the clicks and inputs, waits for elements, checks text and page details, takes screenshots, and ends the run with a pass or fail verdict.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Browser Test
Automated UI testing. Now backed by a recorded RVF session container instead of an ephemeral run, so every test produces a replayable artifact.
When to use
- Verifying UI functionality, user flows, or that frontend changes work in a real browser.
- Producing a baseline session that future regressions can diff against.
- Re-running a stored test session when CI fails (no need to re-author the test).
Steps
- Record the test run by composing
browser-record:- Allocates an RVF container with
--kind browser-session. - Begins a ruvector trajectory.
- Allocates an RVF container with
- Drive interactions —
browser_open,browser_click,browser_fill,browser_type,browser_select. Each action emits atrajectory-step. - Wait for elements / network idle via
browser_waitbefore assertions. - Validate with
browser_get-text/browser_get-value/browser_get-title/browser_get-url. Validation outcomes go intofindings.mdinside the RVF container. - Screenshot before / after key interactions for visual regression. Filenames follow
<step-id>.png. - Snapshot the accessibility tree at navigation boundaries.
- End the session:
trajectory-end --verdict pass|fail,rvf compact, AgentDB index inbrowser-sessions. - (Optional) Diff against
--against <prior-session-id>: invokebrowser-screenshot-diffto compare the new run with a baseline.
Navigation
browser_back/browser_forwardfor history navigationbrowser_reloadto refresh the pagebrowser_scrollto scroll to elements or coordinates
What changed from v0.1.0
- The skill no longer ends with
browser_closealone — it ends with the session-end protocol. - Selectors discovered during the test land in
browser-selectors(host:intent), so the next test can find them by embedding similarity. - Validation outputs pass
aidefence_is_safebefore any LLM-facing summary; injection-flagged content is quarantined tofindings.md. - The same skill, used in CI, now produces an artifact that
/ruflo-browser replaycan re-drive.
Tips
- Use
browser_waitbefore assertions to handle async rendering. - For visual regression, save the parent session id and pass
--against <id>on the next run. - Use
browser_evalfor custom JavaScript assertions — but redact any returned strings via theaidefence_is_safegate before logging.
FAQ
Are the test results saved?
Yes. Each run is saved as a recorded session that can be replayed.
Can it compare with an earlier run?
Yes. The skill can diff the new run against a prior session for visual changes.
Does it need a browser installed?
The skill drives a browser through its tools, so the browser tools must be available in your setup.
Details
Original description by the author
UI test recipe -- composes browser-record (capture) + browser-replay (verify) so every test produces a replayable RVF artifact, not an ephemeral run
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1583
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.