T - this object type to chain method callspublic interface FluentWaitConditions<T>
| Modifier and Type | Method and Description |
|---|---|
T |
explicitlyFor(long amount)
Waits unconditionally for an explicit amount of time.
|
T |
explicitlyFor(long amount,
TimeUnit timeUnit)
Waits unconditionally for an explicit amount of time.
|
FluentConditions |
until(FluentWebElement element)
Get a conditions object used to wait for condition on given element.
|
FluentListConditions |
until(List<? extends FluentWebElement> elements)
Get a conditions object used to wait for a condition on given elements.
|
FluentListConditions |
untilEach(List<? extends FluentWebElement> elements)
Get a conditions object used to wait for a condition on given elements.
|
FluentListConditions |
untilEachElements(com.google.common.base.Supplier<? extends List<? extends FluentWebElement>> elements)
Get a conditions object used to wait for a condition on given elements.
|
FluentConditions |
untilElement(com.google.common.base.Supplier<? extends FluentWebElement> element)
Get a conditions object used to wait for a condition on given element.
|
FluentListConditions |
untilElements(com.google.common.base.Supplier<? extends List<? extends FluentWebElement>> elements)
Get a conditions object used to wait for a condition on given elements.
|
FluentWaitPageConditions |
untilPage()
Get a condition object used to wait for a page condition.
|
FluentWaitPageConditions |
untilPage(FluentPage page)
Get a condition object used to wait for a page condition.
|
FluentWaitWindowConditions |
untilWindow(String windowName)
Get a condition object used to wait for a window condition.
|
FluentConditions until(FluentWebElement element)
element - element to wait forFluentListConditions until(List<? extends FluentWebElement> elements)
At least one element must verify the condition to be verified.
elements - elements to wait forFluentListConditions untilEach(List<? extends FluentWebElement> elements)
Each element must verify the condition to be verified.
elements - elements to wait forFluentConditions untilElement(com.google.common.base.Supplier<? extends FluentWebElement> element)
element - element to wait forFluentListConditions untilElements(com.google.common.base.Supplier<? extends List<? extends FluentWebElement>> elements)
At least one element must verify the condition to be verified.
elements - elements to wait forFluentListConditions untilEachElements(com.google.common.base.Supplier<? extends List<? extends FluentWebElement>> elements)
Each element must verify the condition to be verified.
elements - elements to wait forFluentWaitWindowConditions untilWindow(String windowName)
windowName - name of the window to wait forFluentWaitPageConditions untilPage()
FluentWaitPageConditions untilPage(FluentPage page)
page - page to wait forT explicitlyFor(long amount, TimeUnit timeUnit)
The method should be used only as a last resort.
In most cases you should wait for some condition, e.g. visibility of particular element on the page.
amount - amount of timetimeUnit - unit of timethis object to chain method callsT explicitlyFor(long amount)
The method should be used only as a last resort.
In most cases you should wait for some condition, e.g. visibility of particular element on the page.
amount - amount of time to wait in millisecondsthis object to chain method callsCopyright © 2016 FluentLenium. All Rights Reserved.