Skip to content

Add unified selector syntax to mouse commands#2415

Merged
soulgalore merged 1 commit intomainfrom
unify-mouse-selectors
Apr 25, 2026
Merged

Add unified selector syntax to mouse commands#2415
soulgalore merged 1 commit intomainfrom
unify-mouse-selectors

Conversation

@soulgalore
Copy link
Copy Markdown
Member

Add run(selector) methods to singleClick, doubleClick, contextClick, and mouseMove. Users can now call commands.mouse.singleClick('#btn'), commands.mouse.doubleClick('id:item'), etc. with the same prefix-based selectors as other commands. Legacy by* methods preserved but marked @Private in docs.

Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
Change-Id: I6e4a10d0fab83c21a458df03d3d358e251c06d0c

Add run(selector) methods to singleClick, doubleClick, contextClick, and mouseMove. Users can now call commands.mouse.singleClick('#btn'), commands.mouse.doubleClick('id:item'), etc. with the same prefix-based selectors as other commands. Legacy by* methods preserved but marked @Private in docs.

Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com
Change-Id: I6e4a10d0fab83c21a458df03d3d358e251c06d0c
@soulgalore soulgalore merged commit 8a259fb into main Apr 25, 2026
16 checks passed
@soulgalore soulgalore deleted the unify-mouse-selectors branch April 25, 2026 13:09
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