Class ExactTexts

    • Field Detail

      • expectedTexts

        protected final java.util.List<java.lang.String> expectedTexts
    • Constructor Detail

      • ExactTexts

        public ExactTexts​(java.lang.String... expectedTexts)
      • ExactTexts

        public ExactTexts​(java.util.List<java.lang.String> expectedTexts)
    • Method Detail

      • test

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

        public void fail​(WebElementsCollection collection,
                         @Nullable
                         java.util.List<org.openqa.selenium.WebElement> elements,
                         @Nullable
                         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