Lucas Vasquez
Lucas Vasquez

Reputation: 1

Waiting changes on DOM with nodriver

I have a scraping project using nodriver. I'm trying to use it on a page that has several redirects, which causes the program to crash. So I want to find a way to do a dynamic wait so I can wait for the page to fully load before continuing processing.

Upvotes: 0

Views: 51

Answers (1)

KEHINDE ELELU
KEHINDE ELELU

Reputation: 64

time.sleep(5) might solve the problem for you. The 5 can be replace with how long you want to wait

Upvotes: -1

Related Questions