scrapy-playwright
scrapy-playwright copied to clipboard
How to recreate a context (browser) if it was closed remotely
Greetings! I am using scrapy-playwright along with Selenium Grid browser cluster. And if the crawling process by the spider is delayed - the cluster can forcibly close the session and context remotely. And at the moment scrapy-playwright just gives an error and stops the crawling process. How can I get it to create a new context when it receives an error?