Skip to content

fix: restore refs dict in --json snapshot output#787

Merged
ctate merged 1 commit intomainfrom
ctate/fix-785
Mar 14, 2026
Merged

fix: restore refs dict in --json snapshot output#787
ctate merged 1 commit intomainfrom
ctate/fix-785

Conversation

@ctate
Copy link
Collaborator

@ctate ctate commented Mar 14, 2026

  • Restore the refs dictionary in --json snapshot output, matching the documented API contract
  • The refs field was silently dropped during the Node.js to Rust rewrite (v0.20), causing consumers parsing data.refs for programmatic element interaction to receive no structured ref data

Fixes #785

- Restore the `refs` dictionary in `--json` snapshot output, matching the documented API contract
- The `refs` field was silently dropped during the Node.js to Rust rewrite (v0.20), causing consumers parsing `data.refs` for programmatic element interaction to receive no structured ref data

Fixes #785
@vercel
Copy link
Contributor

vercel bot commented Mar 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 Mar 14, 2026 6:20pm
agent-browser-env-demo Ready Ready Preview, Comment Mar 14, 2026 6:20pm

@ctate ctate merged commit fbdae9b into main Mar 14, 2026
12 checks passed
@github-actions github-actions bot mentioned this pull request Mar 14, 2026
timothywangdev pushed a commit to timothywangdev/banana-browser that referenced this pull request Mar 17, 2026
- Restore the `refs` dictionary in `--json` snapshot output, matching the documented API contract
- The `refs` field was silently dropped during the Node.js to Rust rewrite (v0.20), causing consumers parsing `data.refs` for programmatic element interaction to receive no structured ref data

Fixes vercel-labs#785
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.

v0.20 regression: --json snapshot missing refs dict (documented in README)

1 participant