其他分享
首页 > 其他分享> > 关于执行webdriver.Chrome; 报错WebDriverException: Message: unknown error: Element is not clickable at poin

关于执行webdriver.Chrome; 报错WebDriverException: Message: unknown error: Element is not clickable at poin

作者:互联网

from selenium import webdriver
from time import sleep

dr = webdriver.Chrome()

dr.get("http://pj1.cciccloud.cn/portal/website/01/index.html")
time.sleep(3)
dr.find_element_by_xpath("//a[@class='Content_a']/span").click()

驱动Firefox 则可以

 

更新了Chrome的驱动,即可,要和浏览器版本相匹配

标签:webdriver,1085,Chrome,驱动,报错,time,import,dr
来源: https://blog.51cto.com/u_13407532/2728317