|
Following a recent bug in Firefox the selenium.click action stopped working.
Selenium have produced a fix in version 2.35.0.
The problem is every time I run it the selenium-maven-plugin uses version 2.21.0 which is still not working.
I've added the dependency within the plugin which is specified in issue MSELENIUM-52, but still uses the old version of Selenium. I haven't added the pluginManagement tags because when I tried that, the server didn't start at all.
The relevant section of my pom.xml file is shown below:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<version>2.3</version>
<dependencies>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-server</artifactId>
<classifier>standalone</classifier>
<version>$
{selenium.version}
</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>start-selenium</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
</goals>
<configuration>
<properties>
<selenium-server.version>2.35.0</selenium-server.version>
</properties>
<port>$
{port}
</port>
<background>true</background>
</configuration>
</execution>
<execution>
<id>stop-selenium</id>
<phase>post-integration-test</phase>
<goals>
<goal>stop-server</goal>
</goals>
</execution>
</executions>
</plugin>
|