diff --git a/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java b/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java
index <HASH>..<HASH> 100644
--- a/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java
+++ b/java/client/test/org/openqa/selenium/testing/drivers/ReflectionBackedDriverSupplier.java
@@ -47,7 +47,7 @@ public class ReflectionBackedDriverSupplier implements Supplier<WebDriver> {
 
       try {
         return driverClass.getConstructor(desiredCapabilities.getClass()).newInstance(desiredCapabilities);
-      } catch (InvocationTargetException e) {
+      } catch (NoSuchMethodException | InvocationTargetException e) {
       }
 
       return driverClass.getConstructor(Capabilities.class).newInstance(desiredCapabilities);
[java] Fixing HtmlUnit driver initialization in tests