Skip to content

fix: print data for get box and get styles in text mode#1233

Merged
ctate merged 1 commit intomainfrom
ctate/fix-1231-a
Apr 14, 2026
Merged

fix: print data for get box and get styles in text mode#1233
ctate merged 1 commit intomainfrom
ctate/fix-1231-a

Conversation

@ctate
Copy link
Copy Markdown
Collaborator

@ctate ctate commented Apr 14, 2026

Summary

  • get box and get styles printed only "Done" in default text mode because the output formatter had no branches for their response shapes
  • Added text-mode handlers for both: get box now prints x, y, width, height on labeled lines; get styles prints each computed CSS property as key: value
  • JSON mode was already correct and is unaffected

Closes #1231

The text-mode output formatter had branches for most `get` subcommand
response shapes but was missing handlers for `boundingbox` and `styles`.
Both commands fell through to the default "Done" message instead of
printing the returned data.

Closes #1231
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agent-browser Ready Ready Preview, Comment Apr 14, 2026 4:33am
agent-browser-env-demo Ready Ready Preview, Comment Apr 14, 2026 4:33am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get box and get styles print only "Done" in text mode

1 participant