当前位置:网站首页>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

边栏推荐
- Télétravail: Camping à la maison gadgets de bureau | rédaction communautaire
- box-sizing
- 一文搞定 UDP 和 TCP 高频面试题!
- 在CVS中恢复到早期版本
- win10系统问题
- `Thymeleaf`模板引擎全面解析
- ASCII code table extracted from tanhaoqiang's C program design (comparison table of common characters and ASCII codes)
- [environment setup] zip volume compression
- 食品饮料行业渠道商管理系统解决方案:实现渠道数字化营销布局
- The function and principle of key in V-for
猜你喜欢

Puzzle (016.2) finger painting Galaxy
![[untitled]](/img/6c/df2ebb3e39d1e47b8dd74cfdddbb06.gif)
[untitled]

【从零开始学zabbix】一丶Zabbix的介绍与部署Zabbix

Method of establishing unity thermodynamic diagram

Digital business cloud: strengthen supplier management and promote efficient collaboration between air transport enterprises and suppliers

遠程辦公之:在家露營辦公小工具| 社區征文

Method of inputting dots under letters in markdown/latex

Solution of channel management system for food and beverage industry: realize channel digital marketing layout

Télétravail: Camping à la maison gadgets de bureau | rédaction communautaire

laravel8使用faker调用工厂填充数据
随机推荐
ssh-keygen 配置无需每次输入密码
CONDA and pip commands
3环杀掉360安全卫士进程
二叉树中最大路径和[处理好任意一颗子树,就处理好了整个树]
JS remove string spaces
Keras深度学习实战(11)——可视化神经网络中间层输出
MySQL复合索引探究
专精特新“小巨人”再启动,“企业上云”数字赋能
在线文本实体抽取能力,助力应用解析海量文本数据
10_那些格调很高的个性签名
How to solve the problem that iterative semi supervised training is difficult to implement in ASR training? RTC dev Meetup
tongweb使用之端口冲突处理办法
打败 二叉树!
Defeat the binary tree!
GO语言-init()函数-包初始化
laravel 8 实现Auth登录
OpenHarmony 1
10 Ces autographes très stylisés.
MySQL log management, backup and recovery
Method of inputting dots under letters in markdown/latex