watir/watir-webdriver — pull request #283 by titusfortner (2014-10-21 23:12:33+00:00)
Title: Error checkers

This Pull Request relies on rewrite in https://github.com/watir/watir-webdriver/pull/282

Current behavior throws an exception if error checker makes a driver call on a window that has been closed
This code does not run error checkers if current window is closed

Current behavior throws an exception if error checker makes a driver call when an alert is present.
This code adds methods to interact with alert (via block) and close it before error checkers are run. This is also advantageous since accepting an alert can update the window, after which we should be running error checkers, anyway.