Skip to content

feat: add browser element refs - #2

Merged
MashrafeeAryan merged 12 commits into
mainfrom
feat/browser-element-refs
Oct 22, 2026
Merged

MashrafeeAryan merged 12 commits into
mainfrom
feat/browser-element-refs

Conversation

@MashrafeeAryan

Copy link
Copy Markdown
Owner

What changed

  • add temporary element refs like e1, e2
  • keep parent context for duplicate controls
  • make browser actions target refs instead of role + name
  • use exact accessible-name matching when resolving refs
  • update browser tests, integration flow, and architecture docs

Why

Pages like Gmail can have multiple controls with the same name. Refs let Chexsa target the exact control from the latest observation instead of guessing.

Testing

  • added focused unit tests for duplicate refs, stale refs, exact-name resolution, and ref-based actions
  • updated the manual browser integration test
  • local clone test run was not possible from this environment because outbound GitHub access is blocked

@MashrafeeAryan
MashrafeeAryan merged commit 5e324d1 into main Oct 22, 2026
4 checks passed
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.

1 participant