Catch WebDriver exceptions when creating selenium browser