Debugging “Element is not clickable at point” error

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

    If you have jQuery loaded on the page, you can execute the following javascript command:

    "$('#" + element_id + "').click()"
    

    Example using python executor:

    driver.execute_script("$('#%s').click()" % element_id)
    

提交回复
热议问题