Package | Description |
---|---|
com.thoughtworks.selenium.condition |
Modifier and Type | Class and Description |
---|---|
class |
Not
Simple predicate class, which also knows how to wait for its condition to be true.
|
class |
Presence
Checks whether a given locator exists on the page.
|
class |
Text
Checks whether text exists either anywhere on the page, or inside a given locator.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultConditionRunner.Monitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
String message) |
void |
DefaultConditionRunner.NoOpMonitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
String message) |
void |
DefaultConditionRunner.Log4jMonitor.conditionFailed(ConditionRunner.Context context,
Condition condition,
String message) |
void |
DefaultConditionRunner.Monitor.conditionWasReached(ConditionRunner.Context context,
Condition condition)
Called whenever a
DefaultConditionRunner.waitFor(Condition) is successful (i.e. |
void |
DefaultConditionRunner.NoOpMonitor.conditionWasReached(ConditionRunner.Context context,
Condition condition) |
void |
DefaultConditionRunner.Log4jMonitor.conditionWasReached(ConditionRunner.Context context,
Condition condition) |
void |
DefaultConditionRunner.waitFor(Condition condition) |
void |
ConditionRunner.waitFor(Condition condition)
This method will, every so often, evaluate the given
condition 's
isTrue(ConditionRunner.Context) method, until:
it becomes true, in which case it simply returns
a certain amount of time is passed, in which case it fails by throwing an failure exception
tailored to a given test framework -- e.g. |
void |
DefaultConditionRunner.waitFor(String narrative,
Condition condition) |
void |
ConditionRunner.waitFor(String narrative,
Condition condition)
As above but with an additional 'should' phrase narrative used in the event of the condition
failing to become true
|
void |
DefaultConditionRunner.Monitor.waitHasBegun(ConditionRunner.Context context,
Condition condition)
Called whenever a
DefaultConditionRunner.waitFor(Condition) has begun, and is being
tracked with the given condition . |
void |
DefaultConditionRunner.NoOpMonitor.waitHasBegun(ConditionRunner.Context context,
Condition condition) |
void |
DefaultConditionRunner.Log4jMonitor.waitHasBegun(ConditionRunner.Context context,
Condition condition) |
Constructor and Description |
---|
Not(Condition positiveCondition) |
Copyright © 2015. All rights reserved.