wait = WebDriverWait(driver, 10, poll_frequency=1, ignored_exceptions=[
    ElementNotVisibleException, ElementNotSelectableException])
element = wait.until(EC.element_to_be_clickable((By.XPATH, '//div')))
Java's FluentWait in Python