Selenium HTML Runner错误(多窗口)

时间:2016-10-18 11:33:22

标签: java selenium

我尝试使用以下命令执行html测试(使用firefox上的Selenium IDE录制):

$> 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)

任何想要的想法都是错的?

谢谢!

1 个答案:

答案 0 :(得分:0)

这似乎是最近发布的3.0.1中修复的错误。