如何解决 element click intercepte: is not clickable at point (**, **)异常

在写代码时报这个错误:

org.openqa.selenium.ElementClickInterceptedException: element click intercepted: Element  is not clickable at point (656, 398). Other element would receive the click: 
...
(Session info: chrome=76.0.3809.87)

一般情况下有可能该元素被什么元素所遮挡,最简单的解决方式就是刷新页面

driver.navigate().refresh();

你可能感兴趣的:(Java+selenium,+testng实现web自动化)