【问题标题】:running selenium xvfb on ubuntu 11.04在 ubuntu 11.04 上运行 selenium xvfb
【发布时间】:2011-10-17 16:02:20
【问题描述】:

我正在尝试在 ubuntu 上使用 maven 运行 selenium 测试。我对 Maven 有以下配置:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>selenium-maven-plugin</artifactId>
    <version>2.0</version>
        <executions>
              <execution>
                    <id>xvfb</id>
                    <phase>pre-integration-test</phase>
                    <goals>
                        <goal>xvfb</goal>
                    </goals>
              </execution>
         <execution>
         <id>start-selenium</id>
         <phase>pre-integration-test</phase>
         <goals>
             <goal>start-server</goal>
         </goals>
         <configuration>
                      <background>true</background>
                      <port>9876</port>
         </configuration>
    </execution>
  </executions>
</plugin>

我已经从突触管理器安装了 xvfb。但不确定我是否需要设置更多东西。任何人都可以请给我一些光。

谢谢

【问题讨论】:

    标签: java selenium ubuntu-11.04


    【解决方案1】:

    我的配置几乎与 selenium-maven-plugin 1.1 版成功运行的配置完全相同。也许你可以测试这个旧版本。你得到什么错误信息?

    【讨论】:

      猜你喜欢
      • 2012-02-06
      • 2012-01-12
      • 1970-01-01
      • 2011-09-05
      • 1970-01-01
      • 1970-01-01
      • 2011-10-31
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多