|
C:\Python37\python.exe D:/python_work/qiangguo.py
Traceback (most recent call last):
File "D:/python_work/qiangguo.py", line 22, in <module>
browser = webdriver.Chrome(executable_path=r'D:\lalala\chromedriver.exe',opti**=opti**)#这个地方的插件需要对照自己的谷歌版本去下载
File "C:\Python37\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "C:\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
resp**e = self.execute(Command.NEW_SESSION, parameters)
File "C:\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_resp**e(resp**e)
File "C:\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_resp**e
raise exception_class(message, screen, stacktrace)
selenium.common.excepti**.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 76
Process finished with exit code 1
|
|