Exception Handling in Selenium Webdriver