title: selenium python wait doesn't work
body: <p>I tried this </p>
  
  <pre><code>WebDriverWait(web.driver,1000000000000000000000000000000000000000000000000)
  </code></pre>
  
  <p>and it did nothing literally nothing.</p>
  
  <p>The web is also changing dynamically new elements are introduced to it and the code doesn't exist in the page_source of the new elements.</p>
  
  <p>please help I have been stuck on this all morning</p>
  
  <p>I'm using geckodriver for firefox
  python 3</p>
  
  <p>test code</p>
  
  <pre><code>_browser_profile = webdriver.FirefoxProfile()
  _browser_profile.set_preference("dom.webnotifications.enabled", False)
  driver=webdriver.Firefox(firefox_profile= _browser_profile)
  driver.get("https://www.google.com/")
  wait= WebDriverWait(driver,10)
  driver.get("https://www.youtube.com")
  </code></pre>