def find_id_with_timeout(driver, ID, timeout=TIMEOUT): return WebDriverWait(driver, timeout).until( EC.presence_of_element_located((By.ID, ID)) )