sincecutoff.com
← all changes

agent-browser annotated screenshots via --annotate

Introduced 2026-02-19 · score 0.97

HOW TO USE IT

When inspecting a page’s visual layout, run `agent-browser screenshot --annotate` to label interactive elements and print their refs; use the resulting `@eN` refs for subsequent interactions.

agent-browser screenshot --annotate <output.png>
agent-browser click @e2
AGENT_BROWSER_ANNOTATE=1 agent-browser screenshot <output.png>

WHY THIS HELPS

Inspect a page’s visual layout and identify interactive elements by their annotated references.

REQUIREMENTS AND LIMITATIONS

  • Version: v0.12.0
  • --annotate: Enables numbered labels on interactive elements and prints a legend mapping labels to refs.
  • AGENT_BROWSER_ANNOTATE: Environment variable alternative for enabling annotated screenshots; the docs do not specify accepted values.
  • @eN: Ref corresponding to numbered screenshot label [N]; usable for subsequent interactions.

FIRST-PARTY EVIDENCE

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

Report a problem with this card