Skip to content

fix(drivers): map UI dump text into ViewNode.text for locators#43

Open
emor wants to merge 2 commits intomobile-next:mainfrom
emor:fix/viewnode-text-from-ui-dump
Open

fix(drivers): map UI dump text into ViewNode.text for locators#43
emor wants to merge 2 commits intomobile-next:mainfrom
emor:fix/viewnode-text-from-ui-dump

Conversation

@emor
Copy link
Copy Markdown
Contributor

@emor emor commented Apr 23, 2026

  1. Mobilecli and Mobile Use RPC elements can carry visible copy in text
    and accessibility in label. ViewNode.text was only set from label,
    so getByText / getByRole name matching missed Android TextView-style
    nodes with empty labels. Prefer el.text then el.label.

  2. Addresses GHSA-gh4j-gqv2-49f6; clears npm audit in CI.

@emor emor force-pushed the fix/viewnode-text-from-ui-dump branch from ade9d1c to 168438d Compare April 23, 2026 06:35
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