python - Selenium scroll down Facebook page like crash -


i trying scroll down facebook page gives list of people have liked page using selenium , python. format of url https://www.facebook.com/search/page_id/likers page_id unique number each facebook page.

the page trying scroll down has 18k likes , automate scroll down process, program crashes when reaches 700-800 people.

here error message:

message: unknown error: session deleted because of page crash unknown error: cannot determine loading status tab crashed   (session info: chrome=58.0.3029.110)   (driver info: chromedriver=2.26.436382 (70eb799287ce4c2208441fc057053a5b07ceabac),platform=linux 4.10.0-32-generic x86_64) 

can me why happening?

how long taking?

selenium has default wait time after point return error, see this post:

if hitting 30 minute mark can increase timeout using

driver.set_page_load_timeout(long_wait_time) 

Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -