title: IE11 crashes, how do I gracefully find if it has hung or not?
body: <p>I wrote a program with watir webdriver that does some stuff but randomly IE will hang(I'm pretty sure it has nothing to do with watir and everything to do with IE). Is there any way in ruby I can detect if the browser has crashed? It would really help me to gracefully recover. Is there some sort of event I can register to detect if it has hung and handle it automatically? Or do I have to keep checking in to see if it crashed, and kill and restart if it does? <a href="http://innov8tiv.com/wp-content/uploads/2015/03/fix-internet-explorer-stopped-working-and-crashing-error-1.png" rel="nofollow">http://innov8tiv.com/wp-content/uploads/2015/03/fix-internet-explorer-stopped-working-and-crashing-error-1.png</a></p>