public static class AppiumFluentWait.IterationInfo
extends java.lang.Object
Constructor and Description |
---|
IterationInfo(long number,
org.openqa.selenium.support.ui.Duration elapsed,
org.openqa.selenium.support.ui.Duration total,
org.openqa.selenium.support.ui.Duration interval)
The class is used to represent information about a single loop iteration in
AppiumFluentWait.until(Function)
method. |
Modifier and Type | Method and Description |
---|---|
org.openqa.selenium.support.ui.Duration |
getElapsed()
The amount of elapsed time.
|
org.openqa.selenium.support.ui.Duration |
getInterval()
The current interval.
|
long |
getNumber()
The current iteration number.
|
org.openqa.selenium.support.ui.Duration |
getTotal()
The amount of total time.
|
public IterationInfo(long number, org.openqa.selenium.support.ui.Duration elapsed, org.openqa.selenium.support.ui.Duration total, org.openqa.selenium.support.ui.Duration interval)
AppiumFluentWait.until(Function)
method.number
- loop iteration number, starts from 1elapsed
- the amount of elapsed time since the loop startedtotal
- the amount of total time to run the loopinterval
- the default time interval for each loop iterationpublic long getNumber()
public org.openqa.selenium.support.ui.Duration getElapsed()
public org.openqa.selenium.support.ui.Duration getTotal()
public org.openqa.selenium.support.ui.Duration getInterval()