title: Fluent Wait is Not working-Seleneium Webdriver
body: <p>This below WebElement is not present in WebPage. However I want to know about Fluent wait.
  Here when webdriver trying to identify <code>BE_flight_flseah_btn</code>, its supposed to wait max 5 mins based on code,but it throws error within seconds saying no such element.</p>
  
  <pre><code>Wait&lt;WebDriver&gt; w=new FluentWait&lt;WebDriver&gt;(dr)
          .withTimeout(5,TimeUnit.MINUTES)
          .pollingEvery(5,TimeUnit.MILLISECONDS)
          .ignoring(NoSuchElementException.class);
          WebElement we=w.until(new Function&lt;WebDriver,WebElement&gt;()
          {
              public WebElement apply(WebDriver dr)
              {
                  return dr.findElement(By.id("BE_flight_flseah_btn"));
              }
          });
  </code></pre>
  
  <p>why it is not waiting for 5 mins, anything wrong in this code? Please help me on this.</p>