title: Wait until div of class opacity-transition is available in selenium python
body: <p>I want to wait until div of class  opacity-transition is available in selenium python, so to execute this I tried:-</p>
  <pre><code>WebDriverWait(driver, 30).until(EC.invisibilityOfAllElements((By.XPATH, &quot;//div[@class='reports-content opacity-transition fade']&quot;)))
  </code></pre>
  <p>Where I got the error:-</p>
  <blockquote>
  <p>WebDriverWait(driver, 30).until(EC.invisibilityOfAllElements((By.XPATH, &quot;//
  div[@class='reports-content opacity-transition fade']&quot;)))
  AttributeError: module
  'selenium.webdriver.support.expected_conditions' has no a ttribute
  'invisibilityOfAllElements'</p>
  </blockquote>