Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to recreate a context (browser) if it was closed remotely #189

Open
Schtil opened this issue Mar 31, 2023 · 0 comments
Open

How to recreate a context (browser) if it was closed remotely #189

Schtil opened this issue Mar 31, 2023 · 0 comments

Comments

@Schtil
Copy link

Schtil commented Mar 31, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant