jayway/robotium — pull request #34 by TimotheeJeannin (2012-11-22 22:19:23+00:00)
Title: Added new method waitForCondition()

Same as [SeleniumHQ Explicit Waits](http://seleniumhq.org/docs/04_webdriver_advanced.html) while fitting the Robotium design.

**Usage example:**

```Java
Condition condition = new Condition() {

@Override
public boolean isSatisfied() {
// Do the appropriate checks and return whether the condition is satisfied or not.
return myCondition;
}
};

solo.waitForCondition(condition, 1000);
```