Crawling issue with loading page using Python (wait up to 5 seconds) Crawling issue with loading page using Python (wait up to 5 seconds) selenium selenium

Crawling issue with loading page using Python (wait up to 5 seconds)


You may take a look at this : implicit wait

driver.implicitly_wait(10) # seconds

With that line of code every time you try to select an element on the page selenium will try to get it for 10 seconds (or more if you want) and raise an error if not found