sincecutoff.com
← all changes

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-changed
agent-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

Check the installed version and the source before using it. Entry JSON

Report a problem with this card