public final class FilterConstructor extends Object
| Modifier and Type | Method and Description |
|---|---|
static AttributeFilter |
containingText(String text)
Create a filter by text
|
static AttributeFilter |
containingTextContent(String text)
Create a filter by text content
|
static FilterBuilder |
with(String attribute)
Create a filter builder for the attribute
|
static FilterBuilder |
withClass()
Create a filter builder for the attribute by class
|
static AttributeFilter |
withClass(String klass)
Create a filter by class
|
static FilterBuilder |
withId()
Create a filter builder for the attribute by id
|
static AttributeFilter |
withId(String id)
Create a filter by id
|
static FilterBuilder |
withName()
Create a filter builder for the attribute by name
|
static AttributeFilter |
withName(String name)
Create a filter by name
|
static PredicateFilter |
withPredicate(com.google.common.base.Predicate<FluentWebElement> predicate)
Create a filter based on a element predicate
|
static FilterBuilder |
withText()
Create a filter builder for the attribute by text
|
static AttributeFilter |
withText(String text)
Create a filter by text
|
static FilterBuilder |
withTextContent()
Create a filter builder by text content
|
static AttributeFilter |
withTextContent(String text)
Create a filter by text content
|
public static AttributeFilter withName(String name)
name - element namepublic static AttributeFilter withId(String id)
id - element idpublic static AttributeFilter withClass(String klass)
klass - CSS class namepublic static AttributeFilter withText(String text)
text - to filter in contentpublic static AttributeFilter containingText(String text)
text - to filter in contentpublic static FilterBuilder withText()
public static AttributeFilter withTextContent(String text)
text - to filter in contentpublic static AttributeFilter containingTextContent(String text)
text - to filter in contentpublic static FilterBuilder withTextContent()
public static FilterBuilder with(String attribute)
attribute - attribute namepublic static FilterBuilder withName()
public static FilterBuilder withId()
public static FilterBuilder withClass()
public static PredicateFilter withPredicate(com.google.common.base.Predicate<FluentWebElement> predicate)
predicate - predicateCopyright © 2016 FluentLenium. All Rights Reserved.