While automating a native mobile application using Robot Framework and Appium, I’d like to visually highlight elements during test execution — similar to how we do in web automation with JavaScript. What’s the best way to achieve this in a mobile context?
Hello ,
Best thing is to get bounds (which is an attribute readed by appium) and draw a bouding box using pyton opencv on that element
so you make something like this :
${bounds}= get element attributs //some -locator-here bounds
some-custom-lib-here.draw bounding box ${bounds}