Closed knyipab closed 1 year ago
Hi @knyipab , Thanks for reporting this. As there are much better ways of finding objects when the backend is CulebraTester2 this may have gone unnoticed. https://github.com/dtmilano/AndroidViewClient/blob/master/examples/helper/find-object-by-regex is a good example and starting point.
And for multiple objects: https://github.com/dtmilano/AndroidViewClient/blob/master/examples/helper/find-objects-by-regex
Thanks a lot for the info! I did not aware of such a useful functionality when I read the ducmentation at https://dtmilano.github.io/AndroidViewClient/. Thanks!
You are right, it might not be obvious to infer the functionality of the backend. This is a very good source of the available API: https://mrin9.github.io/OpenAPI-Viewer/#/load/https%3A%2F%2Fraw.githubusercontent.com%2Fdtmilano%2FCulebraTester2-public%2Fmaster%2Fopenapi.yaml
When using CulebraTester2 as backend,
findViewWithAttributeThatMatches
prompts below error message:Currently, I use the workaround below: