Closed elacuesta closed 4 months ago
Hi @elacuesta in relation to my issue here: https://github.com/scrapy-plugins/scrapy-playwright/issues/294
I think the update you made to have the browser restarted worked for me! However I have this retry middleware enabled. I just find it weird that when the browser crashes, it does show up again but it seems that the retry middleware I've made doesn't necessarily retry that specific request anymore. I'm not sure why , it could be my middleware but just letting you know just in case. Let me know if you need additional info. Thank you.
The handler is not allowing enough time for the new browser to launch after a crash.
Sample spider adapted from #167.
I don't think this can be handled with locking or other synchronization primitives, as the browser crash could happen at any time. Retrying seems like the most sensible way.