public class Wait extends Object
| Constructor and Description |
|---|
Wait() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears the instance of WebDriverWait.
|
static <T> T |
until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition)
Wait will ignore instances of NotFoundException that are encountered (thrown) by default in
the 'until' condition, and immediately propagate all others.
|
static <T> T |
until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
boolean not) |
static <T> T |
until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds)
Wait will ignore instances of NotFoundException that are encountered (thrown) by default in
the 'until' condition, and immediately propagate all others.
|
static <T> T |
until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds,
boolean not) |
static <T> ChainableWait<T> |
untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition) |
static <T> ChainableWait<?> |
untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
boolean not) |
static <T> ChainableWait<T> |
untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds) |
static <T> ChainableWait<?> |
untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds,
boolean not) |
public static <T> T until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition)
T - The function's expected return type.condition - the parameter to pass to the ExpectedConditionpublic static <T> T until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
boolean not)
public static <T> T until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds)
T - The function's expected return type.condition - the parameter to pass to the ExpectedConditiontimeOutInSeconds - The timeout in seconds when an expectation is calledpublic static <T> T until(org.openqa.selenium.support.ui.ExpectedCondition<T> condition,
int timeOutInSeconds,
boolean not)
public static <T> ChainableWait<T> untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition)
public static <T> ChainableWait<?> untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition, boolean not)
public static <T> ChainableWait<T> untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition, int timeOutInSeconds)
public static <T> ChainableWait<?> untilAnd(org.openqa.selenium.support.ui.ExpectedCondition<T> condition, int timeOutInSeconds, boolean not)
public static void clear()
Copyright © 2023 NoraUi. All rights reserved.