专注于 JetBrains IDEA 全家桶,永久激活,教程
持续更新 PyCharm,IDEA,WebStorm,PhpStorm,DataGrip,RubyMine,CLion,AppCode 永久激活教程

python selenium ElementClickInterceptedException

39_1.png


在使用 selenium.webdriver 的时候使用元素对象 .click() 方法是报错:

selenium.common.exceptions.ElementClickInterceptedException: xxx

可使用以下方式进行替换点击事件:

for i in driver.find_elements_by_class_name('className'):
    driver.execute_script("arguments[0].click();", i)

i 是需要点击事件的元素对象。

未经允许不得转载:搜云库技术团队 » python selenium ElementClickInterceptedException

JetBrains 全家桶,激活、破解、教程

提供 JetBrains 全家桶激活码、注册码、破解补丁下载及详细激活教程,支持 IntelliJ IDEA、PyCharm、WebStorm 等工具的永久激活。无论是破解教程,还是最新激活码,均可免费获得,帮助开发者解决常见激活问题,确保轻松破解并快速使用 JetBrains 软件。获取免费的破解补丁和激活码,快速解决激活难题,全面覆盖 2024/2025 版本!

联系我们联系我们