2024 Views
Prevent Test Runner hanging when the application uses confirmation dialog in window.onbeforeunload callback 🧠You can find the application and the tests for this blog post in the repo onbeforeunload-example Imagine we have a page The application code uses window.onbeforeunload callback to ask the user to confirm before navigating away from the page.
0 comments