title: Selenium clicks an element 'successfully', yet, it is not actually clicked
body: <p>I have a method that clicks on a button, however, when it is run, selenium returns the outcome as clicked successfully, when, in reality, the button is not actually clicked. If I run the test several times, occasionally, it'll be clicked as expected. I have my test framework set as an implicit wait for about 15 seconds, I have set an explicit wait for this element, and still see the same issue. When I do <code>&lt;element&gt;.isDisplayed()</code>, the element is always found. I placed the .click in a while loop to click it a few times which works most of the time, however, still sometimes the test fails. Is it possible to have an if statement to check if an element is actually displayed before clicking the button?</p>
  
  <p>I've tried:</p>
  
  <pre><code>if(!element.isDisplayed){
      element.click
  }
  </code></pre>
  
  <p>Here is the button I am having issues with:</p>
  
  <pre><code>&lt;button class="notkoButton listNew"&gt;
  &lt;div class="l6e iconAdd"&gt;New List&lt;/div&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>Here is my method:</p>
  
  <pre><code>public marketing_lists_page navigateToNewListPage() throws Throwable {
      try {
          int x = 0;
          while(x &lt; 5) {
              newListBtn.click();
              x++;
          }
         //newListPageHeader.isDisplayed();
      } catch (NoSuchElementException e){
          logs.errorDetails("Could not navigate to New List Page");
          Assert.fail();
      }
      return this;
  }
  </code></pre>