当前位置:网站首页>Successfully solved: selenium common. exceptions. SessionNotCreatedException: Message: session not created: This versi
Successfully solved: selenium common. exceptions. SessionNotCreatedException: Message: session not created: This versi
2022-06-24 14:22:00 【Xiao Yuan itsuper】
Successfully solved :selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 100
List of articles
Report the wrong question
Report the wrong question :
browser = webdriver.Chrome(chrome_options=chrome_options)
Traceback (most recent call last):
File "E:/Python/test3.py", line 73, in <module>
main()
File "E:/Python/test3.py", line 65, in main
baidu_search(search_keyword[0], max_page)
File "E:/Python/test3.py", line 52, in baidu_search
browser = webdriver.Chrome(chrome_options=chrome_options)
File "D:\Python3.8\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 70, in __init__
super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
File "D:\Python3.8\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 93, in __init__
RemoteWebDriver.__init__(
File "D:\Python3.8\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 268, in __init__
self.start_session(capabilities, browser_profile)
File "D:\Python3.8\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 359, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "D:\Python3.8\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 424, in execute
self.error_handler.check_response(response)
File "D:\Python3.8\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 100
Current browser version is 102.0.5005.115 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe
Stacktrace:
Backtrace:
Ordinal0 [0x00437413+2389011]
Ordinal0 [0x003C9F61+1941345]
Ordinal0 [0x002BC658+837208]
Ordinal0 [0x002DC773+968563]
Ordinal0 [0x002D837A+951162]
Ordinal0 [0x002D5C51+941137]
Ordinal0 [0x00308C80+1150080]
Ordinal0 [0x003088DA+1149146]
Ordinal0 [0x00303F66+1130342]
Ordinal0 [0x002DE546+976198]
Ordinal0 [0x002DF456+980054]
GetHandleVerifier [0x005E9632+1727522]
GetHandleVerifier [0x0069BA4D+2457661]
GetHandleVerifier [0x004CEB81+569713]
GetHandleVerifier [0x004CDD76+566118]
Ordinal0 [0x003D0B2B+1968939]
Ordinal0 [0x003D5988+1989000]
Ordinal0 [0x003D5A75+1989237]
Ordinal0 [0x003DECB1+2026673]
BaseThreadInitThunk [0x7674FA29+25]
RtlGetAppContainerNamedObjectPath [0x77087A9E+286]
RtlGetAppContainerNamedObjectPath [0x77087A6E+238]
Process finished with exit code 1
Solutions
Translation of error reporting content : This version of the ChromeDriver Support only Chrome edition 100, Need to upgrade Chrome Driver version WebDriver
resolvent
1. Download the corresponding Chrome Driver version :http://chromedriver.storage.googleapis.com/index.html
2. Unpack the installation package and put it into Python Under installation path
边栏推荐
- Maximum path sum in binary tree [handle any subtree, then handle the whole tree]
- GO语言并发模型-MPG模型
- Idea connection MySQL custom generated entity class code
- The "little giant" specialized in special new products is restarted, and the "enterprise cloud" digital empowerment
- Rongyun communication has "hacked" into the heart of the bank
- 21set classic case
- 智慧园区SaaS管理系统解决方案:赋能园区实现信息化、数字化管理
- 二造考生必看|巩固优选题库助力考生最后冲刺
- 六石管理学:垃圾场效应:工作不管理,就会变成垃圾场
- 数字臧品系统开发 NFT数字臧品系统异常处理源码分享
猜你喜欢
Virtual machines on the same distributed port group but different hosts cannot communicate with each other
SAP Marketing Cloud 功能概述(四)
Maximum path sum in binary tree [handle any subtree, then handle the whole tree]
Explore cloud native databases and take a broad view of future technological development
Daily knowledge popularization
Development of digital Tibetan product system NFT digital Tibetan product system exception handling source code sharing
【深度学习】NCHW、NHWC和CHWN格式数据的存储形式
OpenHarmony 1
laravel下视图间共享数据
GO语言-goroutine协程的使用
随机推荐
Télétravail: Camping à la maison gadgets de bureau | rédaction communautaire
GO语言并发模型-MPG模型
在线文本实体抽取能力,助力应用解析海量文本数据
P2PDB 白皮书
CONDA and pip commands
Unity 热力图建立方法
[untitled]
Common sense knowledge points
[leetcode] 10. Regular expression matching
Kotlin shared mutable state and concurrency
SaaS management system solution of smart Park: enabling the park to realize information and digital management
Kotlin coordination channel
MySQL title
postgresql之List
融云通信“三板斧”,“砍”到了银行的心坎上
Second, the examinee must see | consolidate the preferred question bank to help the examinee make the final dash
MES在流程和离散制造企业的15个差别(下)
How to solve the problem that iterative semi supervised training is difficult to implement in ASR training? RTC dev Meetup
Rongyun communication has "hacked" into the heart of the bank
STM32F1与STM32CubeIDE编程实例-WS2812B全彩LED驱动(基于SPI+DMA)