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
Add browser.closed
and page.closed
events
#952
Comments
currently no PR to this right? Is it ok if i just take |
Hi @aslushnikov , please correct me if i am wrong. With
My attempt was to close the browser when the page got crashed. But the result was 370 specs, 309 failures, This is what my attempt looks like. Here the travis build failure, and the raw log (too many error so the summary only available on raw log). Gladly awaiting your response 😄 . update |
This patch adds a 'disconnected' event for the browser. The event is issued when the "browser" loses connection to the chrome process. References #952
For this to be closed, the 'page.disconnected' is also necessary. |
This patch adds 'page.close' event. References #952.
We now have |
is there anyway i can know either the browser is crashed or closed from the |
browser.closed
event when the underlying browser process gets closed / crashespage.closed
event when the page gets closed / crashesThis will help to build reliable scripts that restart browser or reopen pages when they crash.
The text was updated successfully, but these errors were encountered: