Package org.fluentlenium.core.search
Interface SearchFilter
-
- All Known Implementing Classes:
AttributeFilter
,PredicateFilter
public interface SearchFilter
Search filter interface
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getCssFilter
java.lang.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
java.util.Collection<FluentWebElement> applyFilter(java.util.Collection<FluentWebElement> elements)
Apply the filter.- Parameters:
elements
- input elements- Returns:
- filtered elements
-
-