public class DefaultElementStateProvider extends ElementStateProvider
| Constructor and Description |
|---|
DefaultElementStateProvider(org.openqa.selenium.By locator,
IConditionalWait conditionalWait,
IElementFinder elementFinder,
ILogElementState logger) |
| 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)
|
void |
waitForClickable(Duration timeout)
Waits for is element clickable on the form.
|
boolean |
waitForDisplayed(Duration timeout)
Waits for is element displayed on the form.
|
boolean |
waitForEnabled(Duration timeout)
Check that the element is enabled
|
boolean |
waitForExist(Duration timeout)
Waits until element is exist in DOM (without visibility check).
|
boolean |
waitForNotDisplayed(Duration timeout)
Waits for is element displayed on the form.
|
boolean |
waitForNotEnabled(Duration timeout)
Waits until element does not enabled in DOM
|
boolean |
waitForNotExist(Duration timeout)
Waits until element does not exist in DOM (without visibility check).
|
elementClickable, elementEnabled, elementNotEnabled, isElementEnabled, logElementStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwaitForClickable, waitForDisplayed, waitForEnabled, waitForExist, waitForNotDisplayed, waitForNotEnabled, waitForNotExistpublic DefaultElementStateProvider(org.openqa.selenium.By locator,
IConditionalWait conditionalWait,
IElementFinder elementFinder,
ILogElementState logger)
public boolean isClickable()
IElementStateProviderpublic void waitForClickable(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean isDisplayed()
IElementStateProviderpublic boolean waitForDisplayed(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean waitForNotDisplayed(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean isExist()
IElementStateProviderpublic boolean waitForExist(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean waitForNotExist(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean isEnabled()
IElementStateProviderpublic boolean waitForEnabled(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingpublic boolean waitForNotEnabled(Duration timeout)
IElementStateProvidertimeout - Timeout for waitingCopyright © 2020. All rights reserved.