added more locators and driver.quit to close the window more effectively