Reputation: 4395
Is it possible to completely disable the JavaScript exit alert boxes that spring up when I try to leave the page?
I'm running Firewatir on Ubuntu.
Upvotes: 1
Views: 1511
Reputation: 57282
Maybe you could find some help here:
If not, post the question at http://groups.google.com/group/watir-general/
Upvotes: 1
Reputation: 11279
Are you able to use Greasemonkey scripts while using Firewatir? If so, then the BlockUnloadEvents script might do the trick:
http://userscripts.org/scripts/show/23865
Upvotes: 1