[英]running selenium xvfb on ubuntu 11.04
我正在嘗試在ubuntu上使用Maven運行硒測試。 我對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。 但不確定是否需要設置更多內容。 誰能給我一些光。
謝謝
我有一個配置與selenium-maven-plugin 1.1版成功運行的配置幾乎完全相同。 也許您可以測試此舊版本。 您收到什么錯誤消息?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.