title: Selenium Webdriver "Expectedconditions.not" is not working as expected
body: <pre><code>WebDriverWait wait = new WebDriverWait(driver, 60)
  
  WebElement element = driver.findElement(By.xpath("//div[contains(text(),'Loading...')]"));
  System.out.println("Test");
  wait.until(ExpectedConditions.not(ExpectedConditions.presenceOfElementLocated(By.xpath("//div[contains(text(),'Loading...')]"))));
  System.out.println("Test");
  </code></pre>
  
  <p>Trying to wait for the page loading to be completed. The first "test" is printed in the console and below exception is printed on exceuting the wait.until statement.
  Even after the loading screen is gone the wait.until is still waiting.
  Already tried Staleness of the element also and does not work, getting the same timeout exception.
  Once the loading is completed the element is no more available in the DOM</p>