Debugging “Element is not clickable at point” error

后端 未结 30 2104
余生分开走
余生分开走 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:37

    When using Protractor this helped me:

    var elm = element(by.css('.your-css-class'));
    browser.executeScript("arguments[0].scrollIntoView();", elm.getWebElement());
    elm.click();
    

提交回复
热议问题