Hi,
I’m using Python with ADB to automate an Android app but can’t detect dynamic buttons. Anyone tried OpenCV or XML parsing for this? Tips welcome!
Thanks!
Bala Bob
Hi,
I’m using Python with ADB to automate an Android app but can’t detect dynamic buttons. Anyone tried OpenCV or XML parsing for this? Tips welcome!
Thanks!
Bala Bob
Hello,
OpenCV works well for visual detection—use template matching or contour analysis. For XML parsing, dump the UI hierarchy via `uiautomator` to locate dynamic elements. Combine both for robust automation. Official Website
Best Regards,
Bagipo Henry
Last edited by bagipo2348; 3 Days Ago at 11:27 PM.