WebDriverWait(driver, 30).until(
EC.element_to_be_clickable((By.XPATH, "//*[@src='/images/banner2.gif']")))
или
WebDriverWait(driver, 30).until(
EC.element_to_be_clickable((By.CSS_SELECTOR, "img")))
Примечание: добавьте ниже импорта в ваше решение ::
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By