def METHOD_NAME(step1, name):
    selector = "input[name='term_name'][value='" + name + "']"
    wait = ui.WebDriverWait(world.browser, 5)
    wait.until(invisibility_of_element_located((By.CSS_SELECTOR, selector)))