from selenium.common.exceptions import NoSuchElementException, StaleElementReferenceException SELENIUM_EXCEPTIONS = (NoSuchElementException, StaleElementReferenceException)