selenium 报错“Element is not clickable at point”

1、报错:selenium.common.exceptions.WebDriverException: Message: unknown error: Element <span>...</span> is not clickable at point (310, 167). Other element would receive the click: <button data-v-1066c347="" type="button" class="ant-btn ant-btn-primary">...</button>

2、意思是:无法点击这个元素,另外一个button元素接收了这个点击

3、解决方法:

源html文件:

 将上述的定位地址改为如下:

 ok了

 

posted @ 2020-03-27 12:54  Penny悦  阅读(748)  评论(0编辑  收藏  举报