title: How to wait for a css attribute to change?
body: <p>How can I tell Selenium webdriver to wait on a specific element to have a specific attribute set in css?</p>
  
  <p>I want to wait for:</p>
  
  <pre><code>element.getCssValue("display").equalsIgnoreCase("block")
  </code></pre>
  
  <p>Usually one waits for elements to be present like this:</p>
  
  <pre><code>webdriver.wait().until(ExpectedConditions.presenceOfElementLocated(By.id("some_input")));
  </code></pre>
  
  <p>How can I wait for the specific css value of <code>display</code> attribute?</p>