C# Selenium DriverServiceNotFoundException
Selenium出现DriverServiceNotFoundException异常,一般是找不到浏览器文件,以谷歌浏览器为例。
查看当前谷歌浏览器的版本,到 https://chromedriver.storage.googleapis.com/index.html?path= 下载对应谷歌浏览器的webdriver,然后在脚本中输入对应函数文件夹即可。
Selenium出现DriverServiceNotFoundException异常,一般是找不到浏览器文件,以谷歌浏览器为例。
查看当前谷歌浏览器的版本,到 https://chromedriver.storage.googleapis.com/index.html?path= 下载对应谷歌浏览器的webdriver,然后在脚本中输入对应函数文件夹即可。