public interface ImplicitWaitService
ImplicitWaitService
can be used to execute some WebDriver
interaction
(without wait time
or with a specified
wait time
.Modifier and Type | Method and Description |
---|---|
<T> T |
executeWithDefaultImplicitWaitTime(Supplier<T> supplier)
Executes the given supplier with configured default implicit wait time.
|
<T> T |
executeWithoutWaiting(Supplier<T> supplier)
Executes the given supplier without waiting implicitly.
|
<T> T |
executeWithTimeout(long timeoutInMillis,
Supplier<T> supplier)
Executes the given supplier with the given implicit wait time (in ms).
|
<T> T executeWithoutWaiting(Supplier<T> supplier)
T
- The return type of the given suppliersupplier
- The code to be executed<T> T executeWithDefaultImplicitWaitTime(Supplier<T> supplier)
T
- The return type of the given suppliersupplier
- The code to be executed<T> T executeWithTimeout(long timeoutInMillis, Supplier<T> supplier)
T
- The return type of the given suppliertimeoutInMillis
- the implicit wait time (in ms)supplier
- The code to be executedCopyright © 2018–2021 b+m Informatik AG. All rights reserved.