def wait_for_element_absent(driver, selector, by=By.CSS_SELECTOR,
                            timeout=settings.LARGE_TIMEOUT):

    for x in range(int(timeout * 10)):
        try:
            driver.find_element(by=by, value=selector)
            time.sleep(0.1)
        except Exception:
            return
    raise Exception("Element %s was still present after %s seconds!" %
                    (selector, timeout))
Verifies that current page contains `text`.
dataset/ETHPy150Open mdmintz/SeleniumBase/seleniumbase/fixtures/page_actions.py/wait_for_element_absent--crossover with--dataset/ETHPy150Open jollychang/robotframework-appiumlibrary/src/AppiumLibrary/keywords/_element.py/_ElementKeywords.page_should_contain_text