org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (805, 1183)
(Session info: chrome=62.0.3202.94)
(Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 3.16.0-4-amd64 x86_64) (WARNING: The server did not provide any stacktrace information)--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+unsubscribe@googlegroups.com.
To post to this group, send email to geb-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/12461655-78e9-47a1-912b-f9acc1e7b9f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
WebElement element = driver.findElement(By.xpath(xpath));
JavascriptExecutor executor = (JavascriptExecutor) driver;
executor.executeScript("arguments[0].click()", element)
any other idea why elements are not clickable?
Most likely the element is animated somehow, so its position is changing. You need to wait for it to stop changing position before you try to trigger a click on it.
On Thu, Nov 30, 2017 at 6:43 AM, <medv...@gmail.com> wrote:
hi,I keep getting this error more and more:org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (805, 1183)
(Session info: chrome=62.0.3202.94)
(Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 3.16.0-4-amd64 x86_64) (WARNING: The server did not provide any stacktrace information)Is there any solution to prevent it or any workaround?Thank you,Roland
--
You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geb-user+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/827e110a-435e-47f1-9937-b43d948aeca8%40googlegroups.com.