Try to take screenshots when there's a WebDriverException thrown.