Class PredicateFilter

  • All Implemented Interfaces:
    SearchFilter

    public class PredicateFilter
    extends java.lang.Object
    implements SearchFilter
    Search filter based on a predicate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Collection<FluentWebElement> applyFilter​(java.util.Collection<FluentWebElement> elements)
      Apply the filter.
      java.lang.String getCssFilter()
      Get the CSS string used by CSS search time filtering.
      boolean isCssFilterSupported()
      Does this filter support filtering at search time with CSS selector.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCssFilter

        public java.lang.String getCssFilter()
        Description copied from interface: SearchFilter
        Get the CSS string used by CSS search time filtering.
        Specified by:
        getCssFilter in interface SearchFilter
        Returns:
        css filter string
      • isCssFilterSupported

        public boolean isCssFilterSupported()
        Description copied from interface: SearchFilter
        Does this filter support filtering at search time with CSS selector.
        Specified by:
        isCssFilterSupported in interface SearchFilter
        Returns:
        true if CSS filtering is supported, else false