pleasantest icon indicating copy to clipboard operation
pleasantest copied to clipboard

Allow getAccessibilityTree to be case-insensitive

Open calebeby opened this issue 3 years ago • 0 comments

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 avatar Jan 26 '22 19:01 calebeby