Replay a recorded session trajectory against the same URL or a mutated variant; uses browser-selectors embedding similarity to recover from DOM drift
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-browser-replay-7d3dcda5d779 ,按照其中的说明把「browser-replay」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Re-drive a recorded session trajectory. Used for regression testing, deterministic re-runs, and as the verification path that browser-record plus browser-selectors actually produces something replayable.
This skill is the load-bearing assumption of the v0.2.0 architecture. ADR-0001 Verification §4 requires ≥80% replay success across 10 distinct sites of varying drift profiles before the proposal moves from
Proposed→Accepted. If you find replay unreliable, capture the failure modes infindings.mdand report them up the ADR.
browser-screenshot-diff./ruflo-browser fork) and replaying the parent before mutating.npx -y ruvector@0.2.25 rvf status <session-id>.rvf
Read .../trajectory.ndjson
Each line is {ts, action, args, selector, result}.mcp__plugin_ruflo-core_ruflo__browser_open (target URL = original or --url override).browser_click, browser_fill, browser_eval, etc.) with the recorded args.browser-selectors namespace for an embedding-similar selector for the same <host>:<intent> and retry once:
npx -y @claude-flow/cli@latest memory search --namespace browser-selectors \
--query "<host> <intent>" --limit 5
rvf derive).--tolerance). Verdict goes into findings.md.--mutate to inject expected variation or pin to a fixture.browser-screenshot-diff against the parent session id.