public static class Wait.WaitBuilder extends java.lang.Object implements WithTimeout, WithTimeUnits
| Constructor and Description |
|---|
WaitBuilder(Question question,
org.hamcrest.Matcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
WithTimeUnits |
forNoLongerThan(int timeout) |
WithTimeUnits |
forNoLongerThan(long timeout) |
Wait |
milliseconds() |
Wait |
seconds() |
public WaitBuilder(Question question, org.hamcrest.Matcher matcher)
public WithTimeUnits forNoLongerThan(long timeout)
forNoLongerThan in interface WithTimeoutpublic WithTimeUnits forNoLongerThan(int timeout)
forNoLongerThan in interface WithTimeoutpublic Wait seconds()
seconds in interface WithTimeUnitspublic Wait milliseconds()
milliseconds in interface WithTimeUnits