|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.waiting.DefaultWaiting<SeleniumWaiting> org.jboss.arquillian.ajocado.waiting.selenium.DefaultSeleniumWaiting
public class DefaultSeleniumWaiting
Implementation of waiting for satisfaction of conditions on page using polling the Selenium API with given question.
Constructor Summary | |
---|---|
DefaultSeleniumWaiting()
|
Method Summary | ||
---|---|---|
void |
until(SeleniumCondition condition)
Stars loop waiting to satisfy condition. |
|
|
waitForChange(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever. |
|
|
waitForChange(T oldValue,
SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than oldValue. |
|
|
waitForChangeAndReturn(SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than value stored by initialization in retriever. |
|
|
waitForChangeAndReturn(T oldValue,
SeleniumRetriever<T> retriever)
Waits until Retrieve's implementation doesn't retrieve value other than oldValue and this new value returns. |
Methods inherited from class org.jboss.arquillian.ajocado.waiting.DefaultWaiting |
---|
dontFail, fail, failWith, failWith, getInterval, getTimeout, interval, isDelayed, noDelay, timeout, waitForTimeout, withDelay |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.arquillian.ajocado.waiting.Waiting |
---|
dontFail, failWith, failWith, interval, noDelay, timeout, waitForTimeout, withDelay |
Constructor Detail |
---|
public DefaultSeleniumWaiting()
Method Detail |
---|
public void until(SeleniumCondition condition)
until
in interface SeleniumWaiting
condition
- what wait for to be satisfiedpublic <T> void waitForChange(T oldValue, SeleniumRetriever<T> retriever)
waitForChange
in interface SeleniumWaiting
T
- type of value what we are waiting for changeoldValue
- value that we are waiting for changeretriever
- implementation of retrieving actual valuepublic <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)
.
waitForChange
in interface SeleniumWaiting
T
- type of value what we are waiting for changeretriever
- implementation of retrieving actual valuepublic <T> T waitForChangeAndReturn(T oldValue, SeleniumRetriever<T> retriever)
waitForChangeAndReturn
in interface SeleniumWaiting
T
- type of value what we are waiting for changeoldValue
- value that we are waiting for changeretriever
- implementation of retrieving actual value
public <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)
.
waitForChangeAndReturn
in interface SeleniumWaiting
T
- type of value what we are waiting for changeretriever
- implementation of retrieving actual value
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |