08.09.2015 - For clear the list use this code. It will surely work for you driver.get("http://yopmail.com"); driver.findElement(By.xpath(".//*[@id='login']"))..