Package io.fluentlenium.core.hook.wait
Annotation Interface Wait
Annotation to enable the Wait Hook.
- See Also:
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThrowables that will be ignored while waiting for a condition.long
Time interval to wait between each condition check.Time unit used for polling interval.long
Maximum amount of time to wait before throwing aTimeoutException
.Time unit used for timeout value.boolean
Enable this option to disable default exceptions fromFluentWait
.
-
Element Details
-
timeout
long timeoutMaximum amount of time to wait before throwing aTimeoutException
.- Returns:
- timeout value
- Default:
- 5000L
-
timeUnit
TimeUnit timeUnitTime unit used for timeout value.- Returns:
- time unit
- Default:
- MILLISECONDS
-
pollingInterval
long pollingIntervalTime interval to wait between each condition check.- Returns:
- polling interval value
- Default:
- 500L
-
pollingTimeUnit
TimeUnit pollingTimeUnitTime unit used for polling interval.- Returns:
- time unit
- Default:
- MILLISECONDS
-
withNoDefaultsException
boolean withNoDefaultsExceptionEnable this option to disable default exceptions fromFluentWait
.- Returns:
- boolean
- Default:
- false
-
ignoreAll
Throwables that will be ignored while waiting for a condition.- Returns:
- array of ignored throwable
- Default:
- {}
-