agent-browser screenshot --if-changed skips unchanged captures
Introduced 2026-09-16 · score 0.96
HOW TO USE IT
When checking whether a page changed between captures, run `agent-browser screenshot --if-changed`; add `--threshold <0-1>` to treat small pixel changes as unchanged.
agent-browser screenshot --if-changedagent-browser screenshot --threshold <0-1>WHY THIS HELPS
When checking whether a page changed between captures, take a conditional screenshot and tolerate small pixel differences if needed.
REQUIREMENTS AND LIMITATIONS
- Version: v0.38.0
- --if-changed: Skip unchanged captures. Conditional history is isolated by tab and capture scope.
- --threshold <0-1>: Maximum changed-pixel ratio treated as unchanged; implies `--if-changed`.
- Screenshot history is scoped to each tab and capture mode.
- Unchanged captures omit the image path.
FIRST-PARTY EVIDENCE
- https://github.com/vercel-labs/agent-browser/releases/tag/v0.38.0
- https://github.com/vercel-labs/agent-browser/blob/v0.38.0/skill-data/core/references/commands.md
Check the installed version and the source before using it. Entry JSON