diff --git a/full/src/main/java/apoc/load/LoadHtmlBrowser.java b/full/src/main/java/apoc/load/LoadHtmlBrowser.java
index e777fc4cae..785718fe45 100644
--- a/full/src/main/java/apoc/load/LoadHtmlBrowser.java
+++ b/full/src/main/java/apoc/load/LoadHtmlBrowser.java
@@ -26,6 +26,7 @@
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
+import java.time.Duration;
import java.util.Map;
import org.apache.commons.io.IOUtils;
import org.openqa.selenium.By;
@@ -37,7 +38,6 @@
import org.openqa.selenium.support.ui.Wait;
import org.openqa.selenium.support.ui.WebDriverWait;
-
public class LoadHtmlBrowser {
public static InputStream getChromeInputStream(
diff --git a/full/src/test/java/apoc/load/LoadHtmlTest.java b/full/src/test/java/apoc/load/LoadHtmlTest.java
index a87a390267..8850405c01 100644
--- a/full/src/test/java/apoc/load/LoadHtmlTest.java
+++ b/full/src/test/java/apoc/load/LoadHtmlTest.java
@@ -116,8 +116,7 @@ public void testParseGeneratedJsWrongConfigs() {
assertWrongConfig(errorInvalidConfig, map("browser", FIREFOX, "architecture", "dunno"));
- assertWrongConfig(
- "Error HTTP 401 executing", map("browser", FIREFOX, "gitHubToken", "12345", "forceDownload", true));
+ assertWrongConfig("Error HTTP", map("browser", FIREFOX, "gitHubToken", "12345", "forceDownload", true));
}
private void assertWrongConfig(String msgError, Map config) {