web自动化-----------报错 Element * is not clickable at point,Other element would receive the click

 

出现报错Other element would receive the click:的原因是;

当你selenium中click()点击事件时,所选中的标签被外部div吸收了,因此

解决办法就是进入里面进行点击操作 。driver.execute_script("arguments[0].click();", lists[i])

Python执行script代码即可。

 

 

http://www.python66.com/bbs/221.html

 

 

 

posted @ 2022-10-26 21:33  Just_ho  阅读(1020)  评论(1编辑  收藏  举报