title: How can I get endless expectations?
body: <p>I use Selenium and I need to endlessly wait for the page to load (because it takes a couple of hours to load) and then parse data from it. How can I do this?</p>
  <p>I use some code like this:</p>
  <pre><code>wait = WebDriverWait(driver, 10)
  wait.until(EC.visibility_of_element_located((By.CLASS_NAME, &quot;modal-title&quot;)))
  </code></pre>