diff --git a/java/client/src/org/openqa/selenium/support/ui/FluentWait.java b/java/client/src/org/openqa/selenium/support/ui/FluentWait.java index ec092577446a6..e7de3a301abfa 100644 --- a/java/client/src/org/openqa/selenium/support/ui/FluentWait.java +++ b/java/client/src/org/openqa/selenium/support/ui/FluentWait.java @@ -244,7 +244,7 @@ public V until(Function isTrue) { return value; } } catch (Throwable e) { - lastException = propagateIfNotIngored(e); + lastException = propagateIfNotIgnored(e); } // Check the timeout after evaluating the function to ensure conditions @@ -270,7 +270,7 @@ public V until(Function isTrue) { } } - private Throwable propagateIfNotIngored(Throwable e) { + private Throwable propagateIfNotIgnored(Throwable e) { for (Class ignoredException : ignoredExceptions) { if (ignoredException.isInstance(e)) { return e;