public interface SeleniumWaiting extends Waiting<SeleniumWaiting>
| Modifier and Type | Method and Description |
|---|---|
void |
until(SeleniumCondition condition)
Stars loop waiting to satisfy condition.
|
<T> void |
waitForChange(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever.
|
<T> void |
waitForChange(T oldValue,
SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than oldValue.
|
<T> T |
waitForChangeAndReturn(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever.
|
<T> T |
waitForChangeAndReturn(T oldValue,
SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than oldValue and this new value returns.
|
void until(SeleniumCondition condition)
condition - what wait for to be satisfied<T> void waitForChange(T oldValue,
SeleniumRetriever<T> retriever)
T - type of value what we are waiting for changeoldValue - value that we are waiting for changeretriever - implementation of retrieving actual value<T> void waitForChange(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever.
After retrieving, new value will be associated with given Retriever.
Note that Retriever needs to be initialized first by one of methods
RetrievedValueHolder.initializeValue() or
RetrievedValueHolder.setValue(Object).
T - type of value what we are waiting for changeretriever - implementation of retrieving actual value<T> T waitForChangeAndReturn(T oldValue,
SeleniumRetriever<T> retriever)
T - type of value what we are waiting for changeoldValue - value that we are waiting for changeretriever - implementation of retrieving actual value<T> T waitForChangeAndReturn(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever.
After retrieving, new value will be associated with given Retriever.
Note that Retriever needs to be initialized first by one of methods
RetrievedValueHolder.initializeValue() or
RetrievedValueHolder.setValue(Object).
T - type of value what we are waiting for changeretriever - implementation of retrieving actual valueCopyright © 2012 JBoss by Red Hat. All Rights Reserved.