title: Element is not clickable at point (693, 14). Other element would receive the click: With Chrome Driver only
body: <p>Hi all i am using selenium backed webdriver i am automating some third party site so i don't have any access to the code of that site problem is that my selenium test case works well firefox but when i use chromedriver it gives an exception <strong>Element is not clickable at point (693, 14). Other element would receive the click</strong> i read on some blog that using the lines of code makes the problem go the lines are given below</p>
  
  <pre><code>WebElement elementToClick = driver.findElement(By.id("create_item_button"));
  ((JavascriptExecutor)driver).executeScript("window.scrollTo(0," + elementToClick.getLocation().y + ")");
  elementToClick.click();
  </code></pre>
  
  <p>But this does not help can any one suggest me any work around for that my code is as given below</p>
  
  <pre><code>            selenium.click("//img[@alt='Upload']");
      selenium.click("link=basic uploader");
              WebElement fileUpload = driver.findElement(By.id("file-box"));
  
      ((JavascriptExecutor)driver).executeScript("window.scrollTo(0,"+fileUpload.getLocation().y+")");
  
      Thread.sleep(1000);
      fileUpload.sendKeys("C:\\Users\\Shoaib\\Desktop\\kkk.java");
  </code></pre>