Update HtmlUnit driver to version 2.24; run tests using JDK 1.8

The old version had very limited TypedArray support, which lead to
browser-example crashes.
The new version of HtmlUnit needs JDK 1.8 to run.
This commit is contained in:
Anton Bannykh
2017-04-06 18:38:18 +03:00
parent 767db68daf
commit 93f11a6da3
4 changed files with 10 additions and 9 deletions
+3 -3
View File
@@ -42,8 +42,8 @@
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-htmlunit-driver</artifactId>
<version>${selenium.version}</version>
<artifactId>htmlunit-driver</artifactId>
<version>${htmlunit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -104,7 +104,7 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<jvm>${env.JDK_17}/bin/java</jvm>
<jvm>${env.JDK_18}/bin/java</jvm>
</configuration>
</plugin>