

def wait_no_such_element_present(self, locator, timeout=30):
    "Waits until no element specified with 'locator' present on current page.\n            \n        Fails if 'timeout' expires before the element disappears.\n        \n        Default timeout is set to 10s, it can be used to override the default value.\n        \n            \n        "
    try:
        WebDriverWait(Util.driver, float(timeout)).until_not(EC.presence_of_element_located(timeout))
    except TimeoutException:
        self._warn(("Wait until no such element '%s' timeout in '%s'" % (locator, float(timeout))))

dataset/ETHPy150Open luisxiaomai/robotframework-anywherelibrary/src/AnywhereLibrary/base/waiting.py Waiting.wait_no_such_element_present/VarMisuse@40/153 `locator`->`timeout`