Maven 2 selenium maven插件

Maven 2 selenium maven插件,maven-2,selenium,maven-plugin,Maven 2,Selenium,Maven Plugin,我正在尝试设置selenium maven插件,遇到了一些困难,希望有人能帮助我。我的配置如下所示: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>selenium-maven-plugin</artifactId> <executions> <execution> <phase>pre-integr

我正在尝试设置selenium maven插件,遇到了一些困难,希望有人能帮助我。我的配置如下所示:

<plugin>
  <groupId>org.codehaus.mojo</groupId>
  <artifactId>selenium-maven-plugin</artifactId>
  <executions>
    <execution>
      <phase>pre-integration-test</phase>
      <goals>
    <goal>start-server</goal>
    <goal>selenese</goal>
      </goals>
      <configuration>
    <background>true</background>
    <browser>*firefox</browser>
    <results>src/test/resources/selenium/result.html</results>
    <startURL>http://localhost/MyProject</startURL>
    <suite>src\test\resources\selenium\Testsuite.html</suite>
      </configuration>
    </execution>
  </executions>
</plugin>

org.codehaus.mojo
selenium maven插件
预集成测试
启动服务器
赛琳娜语
符合事实的
*火狐
src/test/resources/selenium/result.html
http://localhost/MyProject
src\test\resources\selenium\Testsuite.html
我有货物设置以及工作完美。但是,启动服务器目标运行时没有问题,但是当maven尝试执行selenium:seleniese目标时,我遇到了以下异常:找不到与org.openqa.selenium.server.SeleniumServer(java.lang.Integer、java.lang.Boolean、java.lang.Boolean)匹配的构造函数


一个建议?提前感谢您的帮助。

这是selenium中的一个bug,可以通过下载新版本来修复。

这是selenium中的一个bug,可以通过下载新版本来修复