无法启动nightwatch来测试WebRTC

时间:2017-02-04 11:12:38

标签: selenium-webdriver webrtc selenium-chromedriver nightwatch.js

我是硒的新手。现在,我偶然发现了Nightwatch.js用于测试WebRTC。我正在尝试这个link开始。现在我已经相应地设置了。现在,当我尝试运行时,我收到以下错误

 Starting selenium server... There was an error while starting the Selenium server:

 Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -host
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at com.beust.jcommander.JCommander.<init>(JCommander.java:210)
at org.openqa.grid.selenium.GridLauncherV3$1.setConfiguration(GridLauncherV3.java:219)
at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:147)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:73)

关注其他链接。我运行了以下命令

java -Dwebriver.chrome.driver="./bin/chromedriver" -jar bin/selenium-server-standalone-3.0.0.jar

selenium server已启动,但当我从Nightwatch运行测试时,错误仍然存​​在,请帮助!

0 个答案:

没有答案