Package io.fluentlenium.core.search
Interface SearchFilter
- All Known Implementing Classes:
AttributeFilter,PredicateFilter
public interface SearchFilter
Search filter interface
-
Method Summary
Modifier and TypeMethodDescriptionapplyFilter(Collection<FluentWebElement> elements) Apply the filter.Get the CSS string used by CSS search time filtering.booleanDoes this filter support filtering at search time with CSS selector.
-
Method Details
-
getCssFilter
String getCssFilter()Get the CSS string used by CSS search time filtering.- Returns:
- css filter string
-
isCssFilterSupported
boolean isCssFilterSupported()Does this filter support filtering at search time with CSS selector.- Returns:
- true if CSS filtering is supported, else false
-
applyFilter
Apply the filter.- Parameters:
elements- input elements- Returns:
- filtered elements
-