I'm trying to automate one of my hybrid
app using Appium
. I'm getting an issue while clicking on the Login button. The error message I'm getting is:
org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (116, 329). Other element would receive the click:
<button class="button button-medium button-custom-login " ng-click="login()">...</button>
And I just want to click on the same element i.e. the one mentioned here with attribute ng-click="login()
.
I've changed the context already to WebView
and tried with changing the attribute to Native as well but nothing seems to be working.
The code which I've used to identify this element is below:
List<WebElement> labels = driver.findElementsByTagName("button");
I iterated through all the elements and found that I need to click on number 20 element.
Any help on this would be great. Thanks!