| Interface | Description | 
|---|---|
| ConditionRunner | A ConditionRunner is a class that can execute a  Condition, which need certain basic
 pieces that it needs to execute (e.g. | 
| ConditionRunner.Context | Used by implementations of  ConditionRunner.waitFor(Condition)to provide context to theisTrue(com.google.testing.selenium.condition.ConditionRunner.Context)method | 
| DefaultConditionRunner.Monitor | A  DefaultConditionRunner.Monitorcan be installed inDefaultConditionRunneras an open ended way of
 being notified of certain events. | 
| Class | Description | 
|---|---|
| Condition | Simple predicate class, which also knows how to wait for the condition to be true. | 
| DefaultConditionRunner | This ConditionRunner throws a simple  RuntimeExceptionwhen the
 condition is not met in theDefaultConditionRunner.waitFor(Condition)method. | 
| DefaultConditionRunner.Log4jMonitor | A Log4j implementation of  DefaultConditionRunner.Monitor. | 
| DefaultConditionRunner.NoOpMonitor | A no-op implementation of  DefaultConditionRunner.Monitor. | 
| JUnit4AndTestNgConditionRunner | This class throws an  AssertionErrorwhen the condition is not met - the same as
 JUnit4 and TestNG do. | 
| JUnitConditionRunner | This class throws an  AssertionFailedErrorwhen the condition is not met. | 
| Not | Simple predicate class, which also knows how to wait for its condition to be true. | 
| Presence | Checks whether a given locator exists on the page. | 
| Text | Checks whether text exists either anywhere on the page, or inside a given locator. | 
Copyright © 2016. All rights reserved.