public class WaitUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected VaniContext |
vaniContext |
| Constructor and Description |
|---|
WaitUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
ajaxJQuery(long timeoutInMillis,
long delayInMillis,
org.openqa.selenium.WebDriver webDriver)
will wait until all jquery ajaxCalls are finished or given timeout is
reached
|
void |
ajaxJQuery(long timeoutInMillis,
org.openqa.selenium.WebDriver webDriver)
will wait until all jquery ajaxCalls are finished or given timeout is
reached
|
void |
ajaxJQuery(String url,
long startInMillis,
long timeoutInMillis,
org.openqa.selenium.WebDriver webDriver)
will wait until a jquery ajaxCall for given URL (regex is also supported)
is sent after provided (
startInMillis mark or given
timeoutInMillis is reached |
WaitOperatorBuilder |
element(String selector) |
WaitOperatorBuilder |
element(String selector,
org.openqa.selenium.SearchContext rootElement) |
WaitOperatorBuilder |
element(org.openqa.selenium.WebElement element) |
WaitOperatorBuilder |
variable(String variableName) |
void |
wait(long millis,
org.openqa.selenium.WebDriver driver) |
void |
waitTime(long millis) |
WaitOperatorBuilder |
webDriver(org.openqa.selenium.WebDriver value) |
@Autowired protected VaniContext vaniContext
public WaitOperatorBuilder element(org.openqa.selenium.WebElement element)
public WaitOperatorBuilder element(String selector)
public WaitOperatorBuilder element(String selector, org.openqa.selenium.SearchContext rootElement)
public WaitOperatorBuilder variable(String variableName)
public WaitOperatorBuilder webDriver(org.openqa.selenium.WebDriver value)
public void wait(long millis,
org.openqa.selenium.WebDriver driver)
public void waitTime(long millis)
public void ajaxJQuery(long timeoutInMillis,
org.openqa.selenium.WebDriver webDriver)
timeoutInMillis - public void ajaxJQuery(long timeoutInMillis,
long delayInMillis,
org.openqa.selenium.WebDriver webDriver)
timeoutInMillis - delayInMillis - after this delay the check begins to workpublic void ajaxJQuery(String url, long startInMillis, long timeoutInMillis, org.openqa.selenium.WebDriver webDriver)
startInMillis mark or given
timeoutInMillis is reachedurl - requested urlstartInMillis - start time for filteringtimeoutInMillis - webDriver - Copyright © 2016. All rights reserved.