当前位置:网站首页>Selenium reports an error: session not created: this version of chromedriver only supports chrome version 81
Selenium reports an error: session not created: this version of chromedriver only supports chrome version 81
2022-07-27 15:19:00 【Honyelchak】
problem
Need to use... Recently selenium Complete an automated test , The following error occurred :
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81
Should be chromedriver And chrome Version mismatch causes .
Solution
View from browser chrome Version number of
![[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-D6VplHzW-1616388842829)( Reptiles .assets/image-20210322123515853.png)]](/img/be/d695daa1fce6fa7e49381ff56df194.png)
from
http://npm.taobao.org/mirrors/chromedriverDownload the corresponding version of the drivertake
chromedriver.exeUnpack , You can extract the file to python Installation directory , You can also unzip it anywhere .Of course, customization is allowed in the program
chromedriver.exeThe path ofchrome_driver = r"G:\Anaconda3\Lib\site-packages\selenium\webdriver\chrome\chromedriver" driver = webdriver.Chrome(chrome_options=chrome_options, executable_path=chrome_driver)
边栏推荐
- LeetCode 240. 搜索二维矩阵 II medium
- STM32F103C8T6在Arduino框架下驱动ssd1306 0.96“ IIC OLED显示
- Notice of Nanshan District Civil Affairs Bureau on carrying out the grade evaluation of social organizations in Nanshan District in 2022
- 代码覆盖率统计神器-jacoco工具实战
- 工具 - markdown编辑器常用方法
- Getting started with DirectX
- cap理论和base理论
- NEFU118 n!后面有多少个0【算术基本定理】
- How to package AssetBundle
- Web page table table, realizing rapid filtering
猜你喜欢

华为鸿蒙模拟器去除顶部导航栏方法

ad7606与stm32连接电路介绍
![[work] about technical architecture](/img/24/f3402c04157ce9a8846580f017f472.png)
[work] about technical architecture
仪表放大器和运算放大器优缺点对比

光电隔离电路设计方案(六款基于光耦、AD210AN的光电隔离电路图)

华云数据打造完善的信创人才培养体系 助力信创产业高质量发展

JUC(JMM、Volatile)

3.3-5v conversion

Unity性能优化------渲染优化(GPU)之Occlusion culling(遮挡剔除)

ADB command (install APK package format: ADB install APK address package name on the computer)
随机推荐
LeetCode 191. Number of 1 Bits(位1的个数) 位运算/easy
代码覆盖率统计神器-jacoco工具实战
What is the breakthrough point of digital transformation in the electronic manufacturing industry? Lean manufacturing is the key
什么是Tor?Tor浏览器更新有什么用?
资本频频加码,急于上市的和府捞面有多“疯狂”?
STM32F103C8T6在Arduino框架下驱动ssd1306 0.96“ IIC OLED显示
cap理论和base理论
Lua study notes
LeetCode 1143. 最长公共子序列 动态规划/medium
Passive income: return to the original and safe two ways to earn
3D相关的简单数学知识
What is tor? What is the use of tor browser update?
Kubernetes CNI classification / operation mechanism
STM32F10x_ Hardware I2C read / write EEPROM (standard peripheral library version)
Usage of countdownlatch in multithreaded environment
LeetCode 面试题 17.21. 直方图的水量 双指针,单调栈/hard
Unity性能优化------渲染优化(GPU)之Occlusion culling(遮挡剔除)
MySQL 面试40连问,面试官你再问下去我可要翻脸了
Unity性能优化------DrawCall
Is it safe for Guosen Securities to open a mobile account? Is Zhongshan securities reliable