Thread.sleep(9000);
selenium.waitForPageToLoad("9000");
selenium.waitForPageToLoad("9000");
selenium.setTimeout("90000");
WebDriverWaitwait=newWebDriverWait(driver,9);
wait.until(ExpectedConditions.elementToBeClickable(By.id("element-id")));
driver.manage().timeouts().implicitlyWait(9,TimeUnit.SECONDS);
wait.until(ExpectedConditions.elementToBeClickable(By.id("element-id")));
driver.manage().timeouts().implicitlyWait(9,TimeUnit.SECONDS);
driver.manage().timeouts().pageLoadTimeout(9,TimeUnit.SECONDS);
Wait<WebDriver> wait = new
FluentWait<WebDriver>(driver)
.withTimeout(30, SECONDS)
.polingEvery(5, SECONDS)
.ignoring(NoSuchElemntException.clas);
.withTimeout(30, SECONDS)
.polingEvery(5, SECONDS)
.ignoring(NoSuchElemntException.clas);
robot.delay(1000);