title: visibilityOfElementLocated Vs visibilityOf
body: <p>When i tried to run below code, <code>visibilityOfElementLocated</code> works perfectly fine and webdriver waits for the element with given time.</p>
  
  <pre><code>dr.get("http://www.seleniumframework.com/Practiceform/");
  WebDriverWait wait=new WebDriverWait(dr,30);
  WebElement we = wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText("Element5")));
  </code></pre>
  
  <p>but the same way if i use <code>visibilityOf</code>, it gives me </p>
  
  <blockquote>
    <p>NoSuchElementException</p>
  </blockquote>
  
  <pre><code>WebElement we = wait.until(ExpectedConditions.visibilityOf(dr.findElement(By.linkText("Element3"))));
  </code></pre>
  
  <p>Can you explain me why i am getting this exception?</p>