fix(cli): Output screenshot as base64 string when no path provided (#83)

* fix(cli): print screenshot base64 when no path

* chore(docs): update docs and SKILL.md

* add test for screenshot with path arg

* more minimal readme + skill change
This commit is contained in:
jaydenfyi
2026-01-17 20:18:06 -06:00
committed by GitHub
parent 5e08e5d077
commit 4112234371
4 changed files with 21 additions and 3 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ agent-browser snapshot # Get accessibility tree with refs
agent-browser click @e2 # Click by ref from snapshot
agent-browser fill @e3 "test@example.com" # Fill by ref
agent-browser get text @e1 # Get text by ref
agent-browser screenshot page.png
agent-browser screenshot # Base64 png to stdout
agent-browser screenshot page.png # Save to file
agent-browser close`} />
<h2>Traditional selectors</h2>