** selenium.common.exceptions.SessionNotCreatedException:消息:未从断开连接创建会话:无法将消息发送到渲染器**

时间:2020-05-04 10:30:27

标签: selenium selenium-chromedriver

执行此代码后

from selenium import webdriver 
driver = webdriver.Chrome(r"C:\webdrivers\chromedriver.exe")
driver.get("http://www.google.com")

chrome浏览器出现1秒钟,然后在执行第3行之前自动关闭 我的浏览器chrome版本是81.0.4044.129版(官方内部版本)(64位),而我的chrome驱动程序是ChromeDriver 81.0.4044.69,我真的不知道可能是问题所在,此消息不断出现:

selenium.common.exceptions.SessionNotCreatedException:消息:未创建会话 断开连接:无法将消息发送到渲染器

0 个答案:

没有答案
相关问题