diff --git a/src/main/java/com/github/noraui/selenium/NoraUiExpectedConditions.java b/src/main/java/com/github/noraui/selenium/NoraUiExpectedConditions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/noraui/selenium/NoraUiExpectedConditions.java
+++ b/src/main/java/com/github/noraui/selenium/NoraUiExpectedConditions.java
@@ -84,8 +84,12 @@ public class NoraUiExpectedConditions {
      */
     public static ExpectedCondition<List<WebElement>> presenceOfNbElementsLocatedBy(final By locator, final int nb) {
         return (WebDriver driver) -> {
-            final List<WebElement> elements = driver.findElements(locator);
-            return elements.size() == nb ? elements : null;
+            try {
+                final List<WebElement> elements = driver.findElements(locator);
+                return elements.size() == nb ? elements : null;
+            } catch (final Exception e) {
+                return null;
+            }
         };
     }
add catch on presenceOfNbElementsLocatedBy expected condition