The below method can’t peform for 1.8, but it can use for 1.7.2
public boolean waitForAeAppear(AndroidElement androidElement, int timeOutInSeconds) {
try {
WebDriverWait wait = new WebDriverWait(aDriver, timeOutInSeconds);
wait.until(ExpectedConditions.visibilityOf(androidElement));
return true;
} catch (Exception e) {
return false;
}
}
created
May '18
last reply
May '18
- 4
replies
- 520
views
- 4
users
- 2
links