How To Handle Null Pointer Exception In Selenium Webdriver