Interface GuiElementWait
-
- All Known Implementing Classes:
DefaultGuiElementWait
@Deprecated public interface GuiElementWaitDeprecated.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description booleanwaitForAnyFollowingTextNodeContains(java.lang.String contains)Deprecated.Waits for any following text node of the current element to contain a text.booleanwaitForAttribute(java.lang.String attributeName)Deprecated.Wait for an attribute to be present.booleanwaitForAttribute(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForAttributeContains(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForAttributeContainsNot(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.booleanwaitForCssClassIsNotPresent(java.lang.String className)Deprecated.Waits until the element has not the given css class namebooleanwaitForCssClassIsPresent(java.lang.String className)Deprecated.Waits until the element has the given css class namebooleanwaitForIsDisabled()Deprecated.Wait until GuiElement is "disabled".booleanwaitForIsDisplayed()Deprecated.Wait for isDisplayed() to be truedefault booleanwaitForIsDisplayedFromWebElement()Deprecated.Wait for isDisplayed() to be truebooleanwaitForIsEnabled()Deprecated.Wait until GuiElement is "enabled".booleanwaitForIsNotDisplayed()Deprecated.Wait till this element disappears.default booleanwaitForIsNotDisplayedFromWebElement()Deprecated.Wait till this element disappears.booleanwaitForIsNotPresent()Deprecated.Waits for an element to be not present.booleanwaitForIsNotSelectable()Deprecated.Waits until the element is not selectable or times out.booleanwaitForIsNotSelected()Deprecated.Wait till the element is not selected.booleanwaitForIsNotVisible()Deprecated.Wait till element is not more visible within the viewportbooleanwaitForIsPresent()Deprecated.Executes find() with default-timeout.booleanwaitForIsSelectable()Deprecated.Waits until the element is selectable or times out.booleanwaitForIsSelected()Deprecated.Wait till the element is selected.booleanwaitForIsVisible(boolean fullyVisible)Deprecated.Wait till element is visible within the viewportbooleanwaitForText(java.lang.String text)Deprecated.Waiting until GuiElement equals the given text.booleanwaitForTextContains(java.lang.String... text)Deprecated.Waiting until GuiElement contains the given text.booleanwaitForTextContainsNot(java.lang.String... text)Deprecated.Waiting until GuiElement contains not the given text.
-
-
-
Method Detail
-
waitForIsPresent
boolean waitForIsPresent()
Deprecated.Executes find() with default-timeout.- Returns:
- true if present, false if not. No Exception is thrown.
-
waitForIsNotPresent
boolean waitForIsNotPresent()
Deprecated.Waits for an element to be not present.- Returns:
- this.
-
waitForIsEnabled
boolean waitForIsEnabled()
Deprecated.Wait until GuiElement is "enabled".- Returns:
- true if enabled, false if not. No Exception is thrown.
-
waitForIsDisabled
boolean waitForIsDisabled()
Deprecated.Wait until GuiElement is "disabled".- Returns:
- true if disabled, false if not. No Exception is thrown.
-
waitForAnyFollowingTextNodeContains
boolean waitForAnyFollowingTextNodeContains(java.lang.String contains)
Deprecated.Waits for any following text node of the current element to contain a text.- Parameters:
contains- Text.- Returns:
- true if contained, false if not. No Exception is thrown.
-
waitForIsDisplayed
boolean waitForIsDisplayed()
Deprecated.Wait for isDisplayed() to be true- Returns:
- true is displayed, false if not. No Exception is thrown.
-
waitForIsNotDisplayed
boolean waitForIsNotDisplayed()
Deprecated.Wait till this element disappears.
-
waitForIsVisible
boolean waitForIsVisible(boolean fullyVisible)
Deprecated.Wait till element is visible within the viewport- Parameters:
fullyVisible- If TRUE, the bounding box of the element need to be fully contained in the viewport. Otherwise, only an intersection is needed.
-
waitForIsNotVisible
boolean waitForIsNotVisible()
Deprecated.Wait till element is not more visible within the viewport
-
waitForIsDisplayedFromWebElement
default boolean waitForIsDisplayedFromWebElement()
Deprecated.Wait for isDisplayed() to be true- Returns:
- true is displayed, false if not. No Exception is thrown.
-
waitForIsNotDisplayedFromWebElement
default boolean waitForIsNotDisplayedFromWebElement()
Deprecated.Wait till this element disappears.- Returns:
- this.
-
waitForIsSelected
boolean waitForIsSelected()
Deprecated.Wait till the element is selected.- Returns:
- selection status
-
waitForIsNotSelected
boolean waitForIsNotSelected()
Deprecated.Wait till the element is not selected.- Returns:
- selection status
-
waitForText
boolean waitForText(java.lang.String text)
Deprecated.Waiting until GuiElement equals the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point. Actual value will be trimmed.- Parameters:
text- Text to wait for, will be trimmed.- Returns:
- true is present, false if not. No Exception is thrown.
-
waitForTextContains
boolean waitForTextContains(java.lang.String... text)
Deprecated.Waiting until GuiElement contains the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point.- Parameters:
text- Text to wait for.- Returns:
- true is present, false if not. No Exception is thrown.
-
waitForTextContainsNot
boolean waitForTextContainsNot(java.lang.String... text)
Deprecated.Waiting until GuiElement contains not the given text. Please note that this will only wait successfully, if the elements text is actually visible at some point.- Parameters:
text- Text to wait for.- Returns:
- true is not present, false if is. No Exception is thrown.
-
waitForAttribute
boolean waitForAttribute(java.lang.String attributeName)
Deprecated.Wait for an attribute to be present.- Parameters:
attributeName- .
-
waitForAttribute
boolean waitForAttribute(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value. Actual value will be trimmed.- Parameters:
attributeName- .value- Will be trimmed.
-
waitForAttributeContains
boolean waitForAttributeContains(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.- Parameters:
attributeName- attribute to checkvalue- value which is waited for- Returns:
- true if the attribute eventually has the value
-
waitForAttributeContainsNot
boolean waitForAttributeContainsNot(java.lang.String attributeName, java.lang.String value)Deprecated.Wait for an attribute to have the given value.- Parameters:
attributeName- attribute to checkvalue- value which is waited for- Returns:
- true if the attribute eventually has the value
-
waitForCssClassIsPresent
boolean waitForCssClassIsPresent(java.lang.String className)
Deprecated.Waits until the element has the given css class name- Parameters:
className- Class name to check- Returns:
- true if the css class is present
-
waitForCssClassIsNotPresent
boolean waitForCssClassIsNotPresent(java.lang.String className)
Deprecated.Waits until the element has not the given css class name- Parameters:
className- Class name to check- Returns:
- true if the css class is gone
-
waitForIsSelectable
boolean waitForIsSelectable()
Deprecated.Waits until the element is selectable or times out.- Returns:
- .
-
waitForIsNotSelectable
boolean waitForIsNotSelectable()
Deprecated.Waits until the element is not selectable or times out.- Returns:
- .
-
-