def wait_for_hidden(self, locator):
        for i in range(timeout_seconds):
            if self.driver.is_visible(locator):
                time.sleep(1)
            else:
                break
        else:
            raise ElementVisiblityTimeout("%s visibility timed out" % locator)
        return True
User successfully authenticated.
dataset/ETHPy150Open Element-34/py.saunter/saunter/po/webdriver/page.py/Page.wait_for_hidden--crossover with--dataset/ETHPy150Open mlavin/django-all-access/allaccess/tests/test_backends.py/AuthBackendTestCase.test_successful_authenticate