def wait_for_element_not_present(self, locator):
        for i in range(timeout_seconds):
            if self.driver.is_element_present(locator):
                time.sleep(1)
            else:
                break
        else:
            raise ElementVisiblityTimeout("%s presence timed out" % locator)
        return True
Synchronization helper to wait until some element is removed from the page
dataset/ETHPy150Open Element-34/py.saunter/saunter/po/webdriver/page.py/Page.wait_for_element_not_present