Interface GuiElementWait

  • All Known Implementing Classes:
    DefaultGuiElementWait

    @Deprecated
    public interface GuiElementWait
    Deprecated.
    • 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 check
        value - 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 check
        value - 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:
        .