I now use UIAutomator2 + python to determine whether there is the current mobile phone interface element for help ~
I paste my code:
I'd like to add a judgment, if there is more than "have connection to call drink media audio" continued to perform cycle, if no error and record the number
How to do it, please?