我试图硒2.0(文件说,它使用的webdriver)像这样:如何使用WebDriver运行Selenium 2.0 RC -htmlSuite?
java -jar selenium-server-standalone-2.0a1.jar -htmlSuite "*firefox" ...
但似乎webdriver的后端不使用(尤其是因为我还没有安装任何Firefox插件)?所有Selenium 2.0文档都使用Java接口,但似乎使用HTML套件使用了经典的Selenium后端?
我没有找到关于如何为htmlSuite设置东西的文档,但是使用“headless”(HtmlUnit)版本完全没问题(我不需要Firefox)。
编辑:硒说RemoteWebDriver instances should connect to: http://...:4444/wd/hub
当启动...任何想法做什么和如何?
编辑2:使用WebDriverBackedSelenium工作在Java中重写测试。因此,问题出现在没有使用WebDriverBackedSelenium实现的htmlSuite中?
这就是我的结论。 – 2010-02-17 08:19:41