title: While loop doesn't end even when element is not enabled/displayed
body: <p>While loop should end when element <code>makePaymentButton</code> is not enabled/displayed but it does not.</p>
  
  <blockquote>
    <p>Error : Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to find element with id == makePaymentButton</p>
  </blockquote>
  
  <pre><code>while(driver.findElement(By.id("makePaymentButton")).isEnabled())
  {
      Thread.sleep(4000);
      driver.findElement(By.name("password_ccCvv")).sendKeys("999");
      Thread.sleep(4000);
      driver.findElement(By.id("makePaymentButton")).click();
      Thread.sleep(9000);
  }
  </code></pre>