I’m using explicit waits for android app automation with Appium like this:
WebDriverWait wait = new WebDriverWait(driver,15);
wait.until(ExpectedConditions.visibilityOfElementLocated(By.id(idPrefix + buttonId)));
But for some reason after 15 seconds no exception is thrown and the test run is basically still stuck waiting for the element.
The appium logs sometimes print
[base driver] Waiting up to 5000000 ms for condition but I really have no idea where this number is coming from.
I’m using appium server v1.13.0 with
caps.setCapability(“automationName”, “UiAutomator2"); for android
Any help is greatly appreciated