I realize this is a relatively simple question but I haven't found the answer yet.
I'm using driver.get()
in a for loop that iterates through some urls. To help avoid my IP address getting blocked, I've implemented time.sleep(5)
before the driver.get statement
in the for loop.
Basically, I just want a wait period to make my scraping seem more natural.
I think time.sleep
may be causing page crashes. What is the equivalent of time.sleep
in selenium? From what I understand, implicitly_wait
just sets the amount of time before throwing an exception, but I'm not sure that's what I want here? I want a specific amount of time for the driver to wait.