Hi,
I am running the appium test for hybrid app on iOS. I am using the wait condition until the element is clickable.But sometime it is not working.It is saying
"Timed out after 30 seconds waiting for element to be clickable". It is not reliable .I am using the below code.Is there any alternate way to wait for the element.?
driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS); //Implicit wait
WebDriverWait wait = new WebDriverWait(driver, 30);
element = driver.findElement(By.xpath("//UIATextField[@value='Email address']"));
wait.until(ExpectedConditions.elementToBeClickable(element)).click();
Thread.sleep(2000);