When i do import from selenium.webdriver.support it have long name as expected_conditions, this can be shortenen in this way from selenium.webdriver.support import expected_conditions as EC, but how to shorten functions names inside called EC ?
for example i need shorten function like visibility_of_all_elements_located to VoAEL
to call
WebDriverWait(driver, 10).until(EC.VoAEL((By.XPATH, "//input[@role='combobox']")))
instead of
WebDriverWait(driver, 10).until(EC.visibility_of_all_elements_located((By.XPATH, "//input[@role='combobox']")))
as thoose functions name takes a lot of space in code.
So how to do that?