public abstract class AbstractWaitElementMatcher extends AbstractWaitMatcher
| Modifier and Type | Field and Description |
|---|---|
protected Search |
search |
protected String |
selectionName |
protected FluentWait |
wait |
| Constructor and Description |
|---|
AbstractWaitElementMatcher(Search search,
FluentWait wait,
String selectionName) |
| Modifier and Type | Method and Description |
|---|---|
void |
containsText(String value)
check if the FluentWait contains the corresponding text
|
protected abstract FluentList<? extends FluentWebElement> |
find()
Find the elements from configured matcher.
|
void |
hasAttribute(String attribute,
String value)
WARNING - Should be change in a next version to hasAttribute("myAttribute").value("myValue")
|
void |
hasId(String value)
check if the FluentWait has the corresponding id
|
void |
hasName(String value)
check if the FluentWait has the corresponding name
|
void |
hasPositionX(Integer value)
WARNING - Should be change in a next version to hasAttribute("myAttribute").value("myValue")
|
void |
hasText(String value)
check if the FluentWait has the exact corresponding text
|
void |
isAboveScreenOrInvisible()
* check if the FluentWait is above top screen border
*
* @return fluent
|
void |
isClickable()
Check that the elements are all clickable
|
void |
isDisplayed()
Check that one or more element is displayed
|
void |
isEnabled()
Check that one or more element is enabled
|
void |
isNotDisplayed()
Check that one or more elements is not displayed
|
void |
isNotPresent()
Check that the element is not present
|
void |
isPresent()
Check that the element is present
|
buildMessage, untilprotected Search search
protected String selectionName
protected FluentWait wait
public AbstractWaitElementMatcher(Search search, FluentWait wait, String selectionName)
public void hasPositionX(Integer value)
value - attribute valuepublic void isAboveScreenOrInvisible()
public void hasAttribute(String attribute, String value)
attribute - attribute namevalue - attribute valuepublic void hasId(String value)
value - id valuepublic void hasName(String value)
value - name valuepublic void containsText(String value)
value - text in contains checkpublic void hasText(String value)
value - text in contains checkpublic void isPresent()
public void isNotPresent()
public void isDisplayed()
public void isNotDisplayed()
public void isEnabled()
public void isClickable()
protected abstract FluentList<? extends FluentWebElement> find()
Copyright © 2016 FluentLenium. All Rights Reserved.