I tried this
WebDriverWait(web.driver,1000000000000000000000000000000000000000000000000)
and it did nothing literally nothing.
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.
please help I have been stuck on this all morning
I'm using geckodriver for firefox python 3
test 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")