uirecorder 启动webdriver服务报错

 
1、在执行uirecorder录制的脚本前,先启动WebDriver服务
报错:Error: Missing C:Users ode_modulesselenium-standalone.seleniumchromedrive
r2.31-x64-chromedriver
 
2、将错误贴到Google,GitHub里有个回答,安装selenium-standlone.(https://github.com/vvo/selenium-standalone
npm install selenium-standalone@latest -g  #OK
selenium-standalone install  #到这里又提示错误
selenium-standalone start
 
2、sele-standalone install的时候selenium、chrome、ie、firefox、edge都安装成功了,到
geckodriver-v0.18.0-win64.zip的时候,Downloads链接错误,not found。于是跑到GitHub去下载https://github.com/mozilla/geckodriver/releases/
 
 
启动WebDriver服务: 在cmd中将目录切换至Selenium-sever的目录下C:Users17972AppDataRoaming pm ode_modulesselenium-standalone.seleniumselenium-server  执行命令java -jar 3.141.5-server.jar(参考https://www.cnblogs.com/ivy001/p/8952708.html )

 

 
 
原文地址:https://www.cnblogs.com/duxuebing/p/7469511.html