请问selenium3.7.0支持chrome62.0.3202.89(正式版本) (64 位)吗
2017-11-10 18:00
302 查看
求解答呀,selenium是cmd中用pip直接下载的,正确安装了chromedriver,path也配置了,输入
from selenium import webdriver
driver = webdriver.Chrome()
后仍然报错如下:
Traceback (most recent call last):
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line
74, in start
stdout=self.log_file, stderr=self.log_file)
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#26>", line 1, in <module>
driver = webdriver.Chrome()
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py",
line 62, in __init__
self.service.start()
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line
81, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
from selenium import webdriver
driver = webdriver.Chrome()
后仍然报错如下:
Traceback (most recent call last):
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line
74, in start
stdout=self.log_file, stderr=self.log_file)
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<pyshell#26>", line 1, in <module>
driver = webdriver.Chrome()
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py",
line 62, in __init__
self.service.start()
File "C:\Users\baobei\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line
81, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
相关文章推荐
- ie(ie11)和Chrome(60.0.3112.101 (正式版本) (64 位))在执行ajax请求时的区别
- Web自动化测试工具Selenium 1.0正式发布:Chrome支持+用户指南
- Web自动化测试工具Selenium 1.0正式发布:Chrome支持+用户指南
- Web自动化测试工具Selenium 1.0正式发布:Chrome支持+用户指南
- Web自动化测试工具Selenium 1.0正式发布:Chrome支持+用户指南
- Google Chrome/Chromium 将不支持旧版本的Linux内核
- TypeScript 1.5正式发布,此版本是Visual Studio 2015更新的一部分,支持大量ES6新特性
- DataUml Design 介绍8-DataUML 1.2版本正式发布(支持SQLite数据库、NetUML开发框架)
- python中selenium结合chrome操作浏览器,并解决chrome与chromedriver版本不匹配问题
- 延云YDB从1.11版本起,正式无缝支持帆软等支持hive接口的报表工具
- DataUml Design 教程6-DataUML Design 1.1版本正式发布(支持PD数据模型)
- selenium之 chromedriver与chrome版本映射表(更新至v2.36)
- selenium 与 ie chrome chrome 版本问题
- 延云YDB从1.11版本起,正式无缝支持帆软等支持hive接口的报表工具
- virmon.cn(net)防火墙Windows32/64位正式版本(Windows7 64,2008)
- 最新chromedriver对应chrome浏览器支持的版本明细
- selenium之 chromedriver与chrome版本映射表(更新至v2.31)
- 获取最新chromedriver.exe的方法,并查阅最新的chromedriver.exe支持到什么chrome版本
- selenium自动化测试资源整理(含所有版本chrome、chromedriver、firefox下载链接)