Element is not clickable at point . Other element would receive the click:
Element is not clickable at point (775.25, 10.166671752929688). Other element would receive the click:
It clearly says, the element we want to click is hidden by some other element div in this case, which would receive the click.
I think it is a problem with the UI and the header shouldn't hide the element, but you can try few things :
Maximize the window of the browser from webdriver to see if header still hides the element
driver.manage().window().maximize()
Use JavaScript to click element
WebElement element = driver.findElement(By.<locator>);JavascriptExecutor executor = (JavascriptExecutor)driver;executor.executeScript("arguments[0].click()", element)`
Im my case, I had to click on a button which would be visible only after a few graphs were loaded and then an ajax image. The below steps helped me to fix the issue:
Identify the
xpath/css
which disappears after ajax call is complete and explicitly wait for it to beinvisible-wait.until(ExpectedConditions.invisibilityOf(element));
One more explicit wait for the button to be
clickable-wait.until(ExpectedConditions.elementToBeClickable(element));
Use javascript to click on the button-
WebElement element = driver.findElement(By.xpath(""));JavascriptExecutor js = (JavascriptExecutor)driver;
js.executeScript("arguments[0].click()", element);
If still this doesn't work try inserting an implicit wait between step 1 and 2.