C# Selenium DriverServiceNotFoundException

Selenium出现DriverServiceNotFoundException异常,一般是找不到浏览器文件,以谷歌浏览器为例。

查看当前谷歌浏览器的版本,到 https://chromedriver.storage.googleapis.com/index.html?path= 下载对应谷歌浏览器的webdriver,然后在脚本中输入对应函数文件夹即可。

posted @ 2020-06-14 00:23  国-哥  阅读(780)  评论(0编辑  收藏  举报