Closed devxpy closed 6 years ago
Pyppeteer waits for about 10 seconds to start the browser. It is currently hard coded. On your machine, does it take more than 10 seconds to start browser?
It's a raspberry pi so, unfortunately, yes.
I do admit that it is a rare occurrence, but the race is still there...
I have removed timeout of browser startup in dev
branch.
Please try it:
pip install -U git+git://github.com/miyakogi/pyppeteer@dev
Released.
From above logs it looks like pyppeteer attempts to connect to browser before DevTools has started. Does pyppeteer wait for the devtools to load, before it attempts to connect to the browser?