我正在尝试按照此处的教程设置与 jenkins 的无头硒测试运行。我正在运行 CentOS 5.6,并且已按照说明进行操作。现在,当我运行这个时:
export DISPLAY=":99" && java -jar /var/lib/selenium/selenium-server.jar -browserSessionReuse -htmlSuite *firefox http://www.google.com ./test/selenium/html/TestSuite.html ./target/selenium/html/TestSuiteResults.html
硒坚持下去INFO - Checking Resource Aliases
。我可以TestSuite.html
手动运行文件,路径是正确的。
我什至如何开始尝试弄清楚发生了什么?有没有办法可以连接到显示器以查看发生了什么?我支持公司代理,但无论有没有-Dhttp.proxyHost
争论,我都会得到相同的挂起结果。