-
-
Notifications
You must be signed in to change notification settings - Fork 428
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
Error event not raised when page crashes #2494
Comments
hmmm @Madajevas I'm getting the error.
|
Even your sample does not raise the event... Full html file I use: <html>
<head>
<title>Crash it</title>
</head>
<body>
<script type="text/javascript">
var a = [...Array(2 ** 32 - 1)];
</script>
</body>
</html> |
I used pretty much the same HTML
|
It must be something with my local chrome installation. Tried executing the same inside docker container and it worked as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
var browser = Puppeteer.LaunchAsync(new LaunchOptions { Headless = true);
var page = browser.NewPageAsync()
page.Error += (e, a) => System.Diagnostics.Debugger.Break();
Page does crash, however error (PageError too) event is never raised. Am I missing something?
Versions
Observed on .NET8 and PuppeteerSharp 14.1.0 (have not tried any older version).
The text was updated successfully, but these errors were encountered: