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
Synchronization to deal with elements that are present, but are visibility until some action
dataset/ETHPy150Open Element-34/py.saunter/saunter/po/webdriver/page.py/Page.wait_for_hidden