命令提示符:错误:无法访问jarfile selenium-server-standalone-3.141.59.jar

ego6inou  于 2021-06-30  发布在  Java
关注(0)|答案(1)|浏览(901)

我试图从命令提示符下运行selenium服务器,但在编写java时出现了这个错误
命令:

java -jar selenium-server-standalone-3.141.59.jar

错误:

Error Unable to access jarfile selenium-server-standalone-3.141.59.jar
cngwdvgl

cngwdvgl1#

启动 selenium-server-standalone-3.141.59.jar 在命令提示符下,可以使用以下命令:

java -jar selenium-server-standalone-3.141.59.jar

控制台输出:

$>java -jar selenium-server-standalone-3.141.59.jar
00:26:20.250 INFO [GridLauncherV3.parse] - Selenium server version: 3.141.59, revision: e82be7d358
00:26:20.750 INFO [GridLauncherV3.lambda$buildLaunchers$3] - Launching a standalone Selenium Server on port 4444
2020-12-13 00:26:21.093:INFO::main: Logging initialized @2998ms to org.seleniumhq.jetty9.util.log.StdErrLog
00:26:22.703 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet
00:26:25.993 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444

相关问题