public class SeleniumWaitMethods
extends java.lang.Object
| Constructor and Description |
|---|
SeleniumWaitMethods() |
| Modifier and Type | Method and Description |
|---|---|
static <R> org.openqa.selenium.WebElement |
findElementWithFluentWait(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.By elementLocator,
java.util.function.Function<org.openqa.selenium.By,org.openqa.selenium.support.ui.ExpectedCondition<R>>... expectedConditions) |
static <R> org.openqa.selenium.WebElement |
findElementWithWaitDriver(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.By elementLocator,
java.util.function.Function<org.openqa.selenium.By,org.openqa.selenium.support.ui.ExpectedCondition<R>>... expectedConditions) |
static org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> |
getFluentWait(org.openqa.selenium.WebDriver webDriver) |
static org.openqa.selenium.support.ui.WebDriverWait |
getWaitDriver(org.openqa.selenium.WebDriver webDriver) |
static void |
waitLongTime() |
static void |
waitMediumTime() |
static void |
waitShortTime() |
static void |
waitTime(long milliseconds) |
static void |
waitVeryLongTime() |
@SafeVarargs
public static <R> org.openqa.selenium.WebElement findElementWithFluentWait(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.By elementLocator,
java.util.function.Function<org.openqa.selenium.By,org.openqa.selenium.support.ui.ExpectedCondition<R>>... expectedConditions)
@SafeVarargs
public static <R> org.openqa.selenium.WebElement findElementWithWaitDriver(org.openqa.selenium.WebDriver webDriver,
org.openqa.selenium.By elementLocator,
java.util.function.Function<org.openqa.selenium.By,org.openqa.selenium.support.ui.ExpectedCondition<R>>... expectedConditions)
public static org.openqa.selenium.support.ui.Wait<org.openqa.selenium.WebDriver> getFluentWait(org.openqa.selenium.WebDriver webDriver)
public static org.openqa.selenium.support.ui.WebDriverWait getWaitDriver(org.openqa.selenium.WebDriver webDriver)
public static void waitLongTime()
public static void waitMediumTime()
public static void waitShortTime()
public static void waitTime(long milliseconds)
public static void waitVeryLongTime()