Debugging “Element is not clickable at point” error

后端 未结 30 2119
余生分开走
余生分开走 2020-11-21 23:55

I see this only in Chrome.

The full error message reads:

\"org.openqa.selenium.WebDriverException: Element is not clickable at point (411, 675

30条回答
  •  被撕碎了的回忆
    2020-11-22 00:30

    Wow, a lot of answers here, and many good ones.

    I hope I'll add something to this from my experience.

    Well guys, in my case there was a cookie overlay hiding the element occasionally. Scrolling to the element also works; but in my humble opinion (for my case, not a panacea for everyone) the simplest solution is just to go full screen (I was running my scripts on a 3/4 of the screen window)! So here we go:

    driver.manage().window().maximize();
    

    Hope that helps!

提交回复
热议问题