chialab / a11ygator-app

🐊 An application and Twitter bot that bites websites to taste their accessibility.
https://a11ygator.chialab.io
MIT License
7 stars 2 forks source link

Restart Puppeteer when errored #17

Open nicolocarpignoli opened 5 years ago

nicolocarpignoli commented 5 years ago

When an error occurs, like (...) resulted in an error WebSocket is not open: readyState 3 (CLOSED), puppeteer should be restarted. This prevents the error above to reoccur at every a11ygator-bot invocation.