I can not get Java and webdriver to click on an XPath.
The website is the one of Movistar: www.movistar.es/Privada/DesafioUnico
Here is the image and command that I have placed.
The element is inside an iframe, this implies that you must change to that iframe before trying to obtain the object:
driver.switchTo().frame("iframe_principal"); driver.findElement(By.xpath(".//a[@class='ng-binding']")).click();