ruby - IE11 crashes, how do I gracefully find if it has hung or not? -


i wrote program watir webdriver stuff randomly ie hang(i'm pretty sure has nothing watir , ie). there way in ruby can detect if browser has crashed? me gracefully recover. there sort of event can register detect if has hung , handle automatically? or have keep checking in see if crashed, , kill , restart if does? http://innov8tiv.com/wp-content/uploads/2015/03/fix-internet-explorer-stopped-working-and-crashing-error-1.png

you can call browser.exists? , tell whether window has closed.

every element interaction makes call, depending on doing when crashes might different error.


Comments