Interface FluentListConditions

    • Method Detail

      • verify

        boolean verify​(Predicate<FluentWebElement> predicate,
                       boolean defaultValue)
        Check that the given predicate is verified.
        Parameters:
        predicate - predicate to check
        defaultValue - default value if input is not present
        Returns:
        true if the predicate is verified, false otherwise
      • present

        boolean present()
        Check that the currently validated element of this list is present.
        Specified by:
        present in interface FluentConditions
        Returns:
        true if the element is present, false otherwise
      • size

        boolean size​(int size)
        Check that this element list has the given size.
        Parameters:
        size - size of the list
        Returns:
        true if it has the given size, false otherwise
      • size

        AbstractIntegerConditions size()
        Check that this element list has the given size.
        Returns:
        an object to configure advanced conditions on size