Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow getAccessibilityTree to be case-insensitive #379

Open
calebeby opened this issue Jan 26, 2022 · 0 comments
Open

Allow getAccessibilityTree to be case-insensitive #379

calebeby opened this issue Jan 26, 2022 · 0 comments
Labels

Comments

@calebeby
Copy link
Member

We could make it ignore case changes by always lowercasing the output

await getAccessibilityTree(
  el,
  {
    caseInsensitive: true
  }
)

I am not sure yet if this is a useful enough feature since it depends on how often the case of the text changes without the text itself changing. If that happens often, this could be useful, but otherwise, I'm not sure this feature is worth it.

@calebeby calebeby added the good first issue Good for newcomers label Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant