Package io.fluentlenium.core.filter
Class FilterConstructor
java.lang.Object
io.fluentlenium.core.filter.FilterConstructor
Filter constructors.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeFilter
containingText
(String text) Create a filter by textstatic AttributeFilter
containingTextContent
(String text) Create a filter by text contentstatic FilterBuilder
Create a filter builder for the attributestatic FilterBuilder
Create a filter builder for the attribute by classstatic AttributeFilter
Create a filter by classstatic FilterBuilder
withId()
Create a filter builder for the attribute by idstatic AttributeFilter
Create a filter by idstatic FilterBuilder
withName()
Create a filter builder for the attribute by namestatic AttributeFilter
Create a filter by namestatic PredicateFilter
withPredicate
(Predicate<FluentWebElement> predicate) Create a filter based on a element predicatestatic FilterBuilder
withText()
Create a filter builder for the attribute by textstatic AttributeFilter
Create a filter by textstatic FilterBuilder
Create a filter builder by text contentstatic AttributeFilter
withTextContent
(String text) Create a filter by text content
-
Method Details
-
withName
Create a filter by name- Parameters:
name
- element name- Returns:
- filter object
-
withId
Create a filter by id- Parameters:
id
- element id- Returns:
- filter object
-
withClass
Create a filter by class- Parameters:
klass
- CSS class name- Returns:
- filter object
-
withText
Create a filter by text- Parameters:
text
- to filter in content- Returns:
- filter object
-
containingText
Create a filter by text- Parameters:
text
- to filter in content- Returns:
- filter object
-
withText
Create a filter builder for the attribute by text- Returns:
- filter builder object
-
withTextContent
Create a filter by text content- Parameters:
text
- to filter in content- Returns:
- filter object
-
containingTextContent
Create a filter by text content- Parameters:
text
- to filter in content- Returns:
- filter object
-
withTextContent
Create a filter builder by text content- Returns:
- filter builder object
-
with
Create a filter builder for the attribute- Parameters:
attribute
- attribute name- Returns:
- filter builder object
-
withName
Create a filter builder for the attribute by name- Returns:
- filter builder object
-
withId
Create a filter builder for the attribute by id- Returns:
- filter builder object
-
withClass
Create a filter builder for the attribute by class- Returns:
- filter builder object
-
withPredicate
Create a filter based on a element predicate- Parameters:
predicate
- predicate- Returns:
- predicate filter
-