loading...

re: Sure you want to leave?—browser beforeunload event VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Everything works fine, except when I try to create UI tests, seems like firefox doesn't trigger beforeunload when it is being controlled by an auto...
 

Unfortunately, since the browser is entirely allowed to decide whether to show this message at all (e.g. if a tab has never had focus), it might not be something you can really test in an automated fashion. 😔

code of conduct - report abuse