Org.openqa.selenium.WebDriverException: Element is not click | Selenium Forum
M
Posted on 16/10/2016
Hi

I am trying a click on a image in a website but I am getting below error. Can someone help me with this.

Error :
Exception in thread "main" org.openqa.selenium.WebDriverException: Element is not clickable at point (236, 24.199996948242188). Other element would receive the click: <section class="loader" id="ajax_div"></section>

sample code :

WebDriver driver=new FirefoxDriver();
Actions actions = new Actions(driver);
driver.navigate().to("http://compareremit.com");
driver.manage().window().maximize();
driver.findElement(By.xpath("html/body/div[2]/div/div/div[1]")).click();
WebElement element=driver.findElement(By.cssSelector("img[src='uploads/wu-112.png']"));
actions.moveToElement(element).click().perform();

M
Replied on 17/10/2016

http://stackoverflow.com/questions/11908249/debugging-element-is-not-clickable-at-point-error