public interface IElementStateProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClickable()
Is an element clickable on the form.
|
boolean |
isDisplayed()
Is an element displayed on the form.
|
boolean |
isEnabled()
Check that the element is enabled
|
boolean |
isExist()
Is an element exist in DOM (without visibility check)
|
default void |
waitForClickable()
Waits for is element clickable on the form.
|
void |
waitForClickable(Duration timeout)
Waits for is element clickable on the form.
|
default boolean |
waitForDisplayed()
Waits for is element displayed on the form.
|
boolean |
waitForDisplayed(Duration timeout)
Waits for is element displayed on the form.
|
default boolean |
waitForEnabled()
Check that the element is enabled (performed by a class member)
Uses condition timeout from settings file for waiting
|
boolean |
waitForEnabled(Duration timeout)
Check that the element is enabled
|
default boolean |
waitForExist()
Waits until element is exist in DOM (without visibility check).
|
boolean |
waitForExist(Duration timeout)
Waits until element is exist in DOM (without visibility check).
|
default boolean |
waitForNotDisplayed()
Waits for is element displayed on the form.
|
boolean |
waitForNotDisplayed(Duration timeout)
Waits for is element displayed on the form.
|
default boolean |
waitForNotEnabled()
Waits until element does not enabled in DOM
Uses condition timeout from settings file for waiting
|
boolean |
waitForNotEnabled(Duration timeout)
Waits until element does not enabled in DOM
|
default boolean |
waitForNotExist()
Waits until element does not exist in DOM (without visibility check).
|
boolean |
waitForNotExist(Duration timeout)
Waits until element does not exist in DOM (without visibility check).
|
boolean isClickable()
void waitForClickable(Duration timeout)
timeout - Timeout for waitingorg.openqa.selenium.TimeoutException - when timeout exceeded and element is not clickable.default void waitForClickable()
org.openqa.selenium.TimeoutException - when timeout exceeded and element is not clickable.boolean isDisplayed()
boolean waitForDisplayed(Duration timeout)
timeout - Timeout for waitingdefault boolean waitForDisplayed()
boolean waitForNotDisplayed(Duration timeout)
timeout - Timeout for waitingdefault boolean waitForNotDisplayed()
boolean isExist()
boolean waitForExist(Duration timeout)
timeout - Timeout for waitingdefault boolean waitForExist()
boolean waitForNotExist(Duration timeout)
timeout - Timeout for waitingdefault boolean waitForNotExist()
boolean isEnabled()
org.openqa.selenium.NoSuchElementException - when timeout exceeded and element not found.boolean waitForEnabled(Duration timeout)
timeout - Timeout for waitingorg.openqa.selenium.NoSuchElementException - when timeout exceeded and element not found.default boolean waitForEnabled()
org.openqa.selenium.NoSuchElementException - when timeout exceeded and element not found.boolean waitForNotEnabled(Duration timeout)
timeout - Timeout for waitingorg.openqa.selenium.NoSuchElementException - when timeout exceeded and element not found.default boolean waitForNotEnabled()
org.openqa.selenium.NoSuchElementException - when timeout exceeded and element not found.Copyright © 2020. All rights reserved.