Class NoneMatch

  • All Implemented Interfaces:
    com.google.common.base.Predicate<java.util.List<org.openqa.selenium.WebElement>>, java.util.function.Predicate<java.util.List<org.openqa.selenium.WebElement>>

    public class NoneMatch
    extends CollectionCondition
    • Field Detail

      • description

        protected final java.lang.String description
      • predicate

        protected final java.util.function.Predicate<org.openqa.selenium.WebElement> predicate
    • Constructor Detail

      • NoneMatch

        public NoneMatch​(java.lang.String description,
                         java.util.function.Predicate<org.openqa.selenium.WebElement> predicate)
    • Method Detail

      • apply

        public boolean apply​(java.util.List<org.openqa.selenium.WebElement> elements)
      • fail

        public void fail​(WebElementsCollection collection,
                         java.util.List<org.openqa.selenium.WebElement> elements,
                         java.lang.Exception lastError,
                         long timeoutMs)
        Specified by:
        fail in class CollectionCondition
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object