# Path: wtframework/wtf/config.py
# WTF_TIMEOUT_MANAGER = TimeOutManager()


from datetime import datetime, timedelta
from selenium.common.exceptions import ElementNotSelectableException, \
    TimeoutException
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from six import u
from wtframework.wtf.config import WTF_TIMEOUT_MANAGER
import time
                    return True

        return False


class WebElementUtils():

    """
    Utility methods for working with web pages and web elements.
    """

    @staticmethod
    def wait_until_element_not_visible(webdriver, locator_lambda_expression,
                                       timeout=WTF_TIMEOUT_MANAGER.NORMAL, sleep=0.5):
        """
        Wait for a WebElement to disappear.

        Args:
            webdriver (Webdriver) - Selenium Webdriver
            locator (lambda) - Locator lambda expression.

        Kwargs:
            timeout (number) - timeout period
            sleep (number) - sleep period between intervals.

        """
        # Wait for loading progress indicator to go away.
        try:
            stoptime = datetime.now() + timedelta(seconds=timeout)
            while datetime.now() < stoptime:

# Path: wtframework/wtf/config.py
# WTF_TIMEOUT_MANAGER = TimeOutManager()


# Path: wtframework/wtf/web/webelement.py
from datetime import datetime, timedelta
from selenium.common.exceptions import ElementNotSelectableException, \
    TimeoutException
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from six import u
from wtframework.wtf.config import WTF_TIMEOUT_MANAGER
import time

                    return True

        return False


class WebElementUtils():

    """
    Utility methods for working with web pages and web elements.
    """

    @staticmethod
    def wait_until_element_not_visible(webdriver, locator_lambda_expression,
                                       timeout=WTF_TIMEOUT_MANAGER.NORMAL, sleep=0.5):
        """
        Wait for a WebElement to disappear.

        Args:
            webdriver (Webdriver) - Selenium Webdriver
            locator (lambda) - Locator lambda expression.

        Kwargs:
            timeout (number) - timeout period
            sleep (number) - sleep period between intervals.

        """
        # Wait for loading progress indicator to go away.
        try:
            stoptime = datetime.now() + timedelta(seconds=timeout)
            while datetime.now() < stoptime:

                element = WebDriverWait(webdriver, WTF_TIMEOUT_MANAGER.BRIEF).until(