Only for passionate software testers
ExplicitWait WebDriverWait wait = new WebDriverWait(driver, 30); wait.until(ExpectedConditions.elementToBeClickable(By.cssSelector("button[type='submit']"))); ImplicitWait driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);