Using Appium how can we test the Element which is not visible at a specific testing time? Please help!
Generally this happens when either element is not visible in the viewport or it’s not rendered yet. You can try the following things :
- Check if element exist in the DOM (but out of viewport area) using findElement
- For rendering thing, you can add some delay before accessing the element. For this Appium provides Explicit wait/Expected conditions for accomplishing this task.
WebDriverWait wait = new WebDriverWait(driver,20); wait.until(ExpectedConditions.visibilityOfElementLocated("");