Fixed error handling in 3c5775d36f7e431d9691829a78580873111cb714 for non-operational webdrivers.