selenium-webdriverError Handling in Automation using Selenium