title: Fluent Wait and WebDriver Wait - Differences
body: <p>I have seen both <code>FluentWait</code> and <code>WebDriverWait</code> in code using Selenium. <code>FluentWait</code> uses a Polling Technique i.e. it will be poll every fixed interval for a particular <code>WebElement</code>. I want to know what Does <code>WebDriverWait</code> do with <code>ExpectedConditions</code>?           </p>
  
  <p>Consider following Java example:</p>
  
  <pre class="lang-java prettyprint-override"><code>WebDriverWait wait = new WebDriverWait(driver, 18);
  wait.until(ExpectedConditions.elementToBeClickable(By.linkText("Account")));
  
  WebElement element = driver.findElement(By.linkText("Account"));
  element.sendKeys(Keys.CONTROL);
  element.click();
  </code></pre>
  
  <p>Does <code>ExpectedConditions.elementToBeClickable(By.linkText("Account"))</code> monitor for <code>linkText("Account")</code> to be clickable or does it wait 18 seconds before clicking?</p>