diff --git a/pom.xml b/pom.xml
index 432d7ebaee..4032f7c6e1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -182,7 +182,7 @@
org.htmlunit
htmlunit
- 4.4.0
+ 4.5.0
diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire260TestWithIdenticalNamesIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire260TestWithIdenticalNamesIT.java
index 995ec35615..5438b5e231 100644
--- a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire260TestWithIdenticalNamesIT.java
+++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire260TestWithIdenticalNamesIT.java
@@ -53,6 +53,7 @@ public void testWithIdenticalNames() throws IOException {
final URI uri = reportsFile.toURI();
try (WebClient webClient = new WebClient()) {
+ webClient.getOptions().setThrowExceptionOnScriptError(false);
HtmlPage page = webClient.getPage(uri.toURL());
HtmlAnchor a = (HtmlAnchor)
page.getByXPath("//a[@href = \"javascript:toggleDisplay('surefire260.TestB.testDup');\"]")