|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ConditionRunner.Context
Used by implementations of ConditionRunner.waitFor(Condition)
to provide context to the
isTrue(com.google.testing.selenium.condition.ConditionRunner.Context)
method
Method Summary | |
---|---|
long |
elapsed()
Returns the amount of time elapsed since the ConditionRunner.waitFor(Condition) method for this
context was called. |
ConditionRunner |
getConditionRunner()
Returns the condition runner inside which this condition is being run. |
com.thoughtworks.selenium.Selenium |
getSelenium()
Returns the Selenium associated with this instance. |
void |
info(String string)
A Condition.isTrue(ConditionRunner.Context) can call this method to set extra
information to be displayed upon a failure. |
Method Detail |
---|
ConditionRunner getConditionRunner()
This allows for a condition to chain to other conditions.
com.thoughtworks.selenium.Selenium getSelenium()
Selenium
associated with this instance. This method will almost always be
called by any Condition.isTrue(ConditionRunner.Context)
.
void info(String string)
Condition.isTrue(ConditionRunner.Context)
can call this method to set extra
information to be displayed upon a failure.
long elapsed()
ConditionRunner.waitFor(Condition)
method for this
context was called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |