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() |
ConditionRunner |
getConditionRunner() |
com.thoughtworks.selenium.Selenium |
getSelenium() |
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.string
- extra info to be displayed upon failurelong elapsed()
ConditionRunner.waitFor(Condition)
method for this
context was called.Copyright © 2015. All rights reserved.