MobileElement element = driver.findElementByXPath(xpath);element.tap(1, 1);
I need to highlight a button in red colored rectange on click. How to do it?
It can only be done if u r element is under WebViewfor all elements under native context we cannot run any js to highlight element....this is uiautomation framework limitation....
I have an app created under iOnic framework-Hybrid, Highlighting element is possible? How? I know how to do in Web.