public interface FluentConditions extends Conditions<FluentWebElement>
| Modifier and Type | Method and Description |
|---|---|
StringConditions |
attribute(String name)
Check conditions on the given attribute the attribute has the given value.
|
boolean |
attribute(String name,
String value)
Check that the attribute has the given value.
|
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(String id)
Check that this element has the given id.
|
StringConditions |
name()
Check conditions on this element name.
|
boolean |
name(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(String tagName)
Check that this element has the given tagName
|
StringConditions |
text()
Check conditions on this element text.
|
boolean |
text(String text)
Check that this element has the given text.
|
StringConditions |
textContent()
Check conditions on this element text content.
|
boolean |
textContent(String anotherString)
Check conditions on this element text content.
|
StringConditions |
value()
Check conditions on this element value.
|
boolean |
value(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(String id)
id - id to checkStringConditions name()
boolean name(String name)
name - name to checkStringConditions tagName()
boolean tagName(String tagName)
tagName - tagName to checkStringConditions value()
boolean value(String value)
value - value to checkboolean text(String text)
text - string to compare withStringConditions.equalTo(String)StringConditions text()
boolean textContent(String anotherString)
anotherString - string to compare withStringConditions.equalTo(String)StringConditions textContent()
boolean attribute(String name, String value)
name - attribute name to checkvalue - attribute value to checkStringConditions attribute(String name)
name - attribute name to checkRectangleConditions rectangle()
Copyright © 2016 FluentLenium. All Rights Reserved.