clean up WebDriverException message to make logs more readable