dalekjs/dalek-internal-webdriver — pull request #12 by niallo (2014-07-08 22:55:28+00:00)
Title: Prevent hangs when missing an error handler

Many commands lack onError handlers, and hence the promise chain will never end if they fail.

Add a default onError handler and use that in case none is supplied. This helps greatly to avoid Dalek hanging during test runs.