public static interface ConditionRunner.Context
ConditionRunner.waitFor(Condition)
to provide context to the
isTrue(com.google.testing.selenium.condition.ConditionRunner.Context)
methodModifier and Type | Method and Description |
---|---|
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. |
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.Copyright © 2015. All rights reserved.