Skip to content
ruvnet avatar

Browser Screenshot Diff

Compares two recorded browser sessions step by step, reporting pixel and DOM divergences with a similarity score.

CCM score
65 of 100
skills.sh installs
697
GitHub stars
82.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers pairing screenshots and accessibility snapshots by step-id across two RVF session containers, flagging unmatched steps
  • Runs pixel diff (mse, psnr, largest diff cluster) and node-level DOM diff, selectable via --mode pixel|dom|both
  • Uses a default --threshold of 0.02 and persists findings in findings.md so the diff itself is replayable
  • Designed for visual regression after UI changes and verifying browser-replay runs against their parent session

Install

$ npx -y skills add ruvnet/ruflo --skill browser-screenshot-diff -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Browser Screenshot Diff

Compare two recorded sessions step-by-step. Pairs each step in session A to the same step-id in session B, diffs the captured screenshot and accessibility snapshot, reports the first divergence and an aggregate similarity score.

When to use

  • Visual regression after a UI change (record before, record after, diff).
  • Verifying a browser-replay run matches the parent session within tolerance.
  • Comparing two A/B variants of the same form flow.

Steps

Details

Repository
github.com/ruvnet/ruflo
Categories
Testing & QA, Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What does the browser-screenshot-diff skill do?

browser-screenshot-diff compares two recorded browser sessions step by step, pairing steps with the same step-id. It diffs captured screenshots and accessibility snapshots, reports the first divergence, and gives an aggregate similarity score.

When should I use browser-screenshot-diff for visual regression?

browser-screenshot-diff suits visual regression after a UI change, where you record a session before and after the change and diff them. It also checks that a browser-replay run matches its parent session within a set tolerance.

How do I install browser-screenshot-diff?

Run npx -y skills add ruvnet/ruflo --skill browser-screenshot-diff -y in your project. Once installed, the skill lets the agent pixel-diff screenshots and compare DOM accessibility snapshots across two sessions.

Which tools does browser-screenshot-diff need?

browser-screenshot-diff uses the browser_eval MCP tool plus Bash, Read and Write. It works on locally saved RVF session containers and reads their trajectory.ndjson files.

Where does browser-screenshot-diff sit among Testing & QA skills?

browser-screenshot-diff is in the Testing & QA category, alongside tdd, webapp-testing and break-ui. It stands out for diffing two recorded sessions step by step rather than running tests directly.

More from ruvnet/ruflo

All 236

Similar to Browser Screenshot Diff

More Testing & QA