-
Notifications
You must be signed in to change notification settings - Fork 289
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
beforeunload dialog is not triggered #362
Comments
Related to this, can we make so that This could be configured via an env variable. If this is something that you're thing could be a valuable addition to jest-puppeteer, I'd be willing to add that to |
@Ayc0 ya if you could make a PR with that change I could get it merges. Make sure to add tests 😁👍 |
Thanks for the PR. I will try to get a new release out in the next week. |
As the title, would you please add a option to add {runBeforeUnload: true} when page.close? See: https://stackoverflow.com/questions/50832325/onbeforeunload-not-being-triggered-from-a-headless-browser
Thank you very much
The text was updated successfully, but these errors were encountered: