我试图使用以下命令执行html测试(在firefox上使用Selenium记录):
$> java -jar /path/to/selenium-html-runner-3.0.0.jar -htmlSuite "*firefox" "http://www.google.com" "/path/to/test.html" "/path/to/results.html"我得到了以下错误:
$> Multi-window mode is longer used as an option and will be ignored.
Exception in thread "main" java.lang.NullPointerException
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.validateArgs(HTMLLauncher.java:261)
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.mainInt(HTMLLauncher.java:218)
at org.openqa.selenium.server.htmlrunner.HTMLLauncher.main(HTMLLauncher.java:273)这里有什么需要的想法吗?
谢谢!
发布于 2016-10-18 18:14:14
这似乎是最近发布的3.0.1版本中修复的一个bug。
https://stackoverflow.com/questions/40107129
复制相似问题