Sar*_*esh 1 selenium webdriver robotframework selenium-chromedriver selenium2library
我是机器人框架的新手。
我已经把chromedriver.exe文件放在系统路径中。现在,当我在 RIDE 中运行脚本时,出现此错误:
WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
在 RIDE 本身中还有其他设置路径的方法吗?
更新:我的路径变量包括:
C:\Driver\chromedriver.exe;
小智 5
正如Robot框架安装指南中提到的,如何设置环境变量。将 chrome 驱动程序放在 te 路径“C:\Python\Scripts”中,并确保此路径“C:\Python\Scripts”在环境变量中更新。如果您有任何说明,请检查以下链接。在标题设置路径下视窗
https://github.com/robotframework/robotframework/blob/master/INSTALL.rst
| 归档时间: |
|
| 查看次数: |
5379 次 |
| 最近记录: |