public interface FluentConditions extends Conditions<FluentWebElement>
| Modifier and Type | Method and Description |
|---|---|
StringConditions |
attribute(java.lang.String name)
Check conditions on the given attribute the attribute has the given value.
|
boolean |
attribute(java.lang.String name,
java.lang.String value)
Check that the attribute has the given value.
|
boolean |
className(java.lang.String className)
Check that the class attribute has the given class name.
|
boolean |
clickable()
Check that this element is visible and enabled such that you can click it.
|
boolean |
displayed()
Check that this element is displayed.
|
boolean |
enabled()
Check that this element is enabled.
|
StringConditions |
id()
Check conditions on this element id.
|
boolean |
id(java.lang.String id)
Check that this element has the given id.
|
StringConditions |
name()
Check conditions on this element name.
|
boolean |
name(java.lang.String name)
Check that this element has the given name
|
FluentConditions |
not()
Negates this condition object.
|
boolean |
present()
Check that this element is present
|
RectangleConditions |
rectangle()
check conditions on rectangle of this element
|
boolean |
selected()
Check that this element is selected.
|
boolean |
stale()
Check that this element is no longer attached to the DOM.
|
StringConditions |
tagName()
Check conditions on this element tagName.
|
boolean |
tagName(java.lang.String tagName)
Check that this element has the given tagName
|
StringConditions |
text()
Check conditions on this element text.
|
boolean |
text(java.lang.String text)
Check that this element has the given text.
|
StringConditions |
textContent()
Check conditions on this element text content.
|
boolean |
textContent(java.lang.String anotherString)
Check conditions on this element text content.
|
StringConditions |
value()
Check conditions on this element value.
|
boolean |
value(java.lang.String value)
Check that this element has the given value
|
verifyFluentConditions not()
not in interface Conditions<FluentWebElement>boolean present()
boolean clickable()
boolean stale()
boolean displayed()
boolean enabled()
boolean selected()
StringConditions id()
boolean id(java.lang.String id)
id - id to checkStringConditions name()
boolean name(java.lang.String name)
name - name to checkStringConditions tagName()
boolean tagName(java.lang.String tagName)
tagName - tagName to checkStringConditions value()
boolean value(java.lang.String value)
value - value to checkboolean text(java.lang.String text)
text - string to compare withStringConditions.equalTo(String)StringConditions text()
boolean textContent(java.lang.String anotherString)
anotherString - string to compare withStringConditions.equalTo(String)StringConditions textContent()
boolean attribute(java.lang.String name,
java.lang.String value)
name - attribute name to checkvalue - attribute value to checkStringConditions attribute(java.lang.String name)
name - attribute name to checkRectangleConditions rectangle()
boolean className(java.lang.String className)
className - class nameCopyright © 2018 FluentLenium. All Rights Reserved.