Repository navigation
Handle exceptions when capturing failing pages
Catch driver-level errors when attempting to capture failing page HTML / screenshots. If the listener throws an exception, it terminates the whole behat process. This can happen if the browser has crashed / lost connection, and prevents e.g. the progress formatter from rendering the list of failed steps. Instead, print the exception details to output and move on.