How To Handle Exceptions In Selenium