????????????????????У?address????????????е???????????????????????????ajax????????????????????????????????????????е?????м???????????????????????????????????е??????????????????????????ж??е??????????????????????е?????????м?????ɡ??????????????????????????????????????
????selenium.common.exceptions.NoSuchElementException: Message: 'Could not locate element with index 1'
???????????????????????selenium.webdriver.support.ui.WebDriverWait????until???webdriver?????????????????????漲??timeout time?????

from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
driver = webdriver.Firefox()
driver.get("http://www.zhuce.com")
city = WebDriverWait(driver??10).until(EC.element_to_be_clickable((By.NAME??"city")))
Select(city).select_by_index(1)
??????????webdriver??????name?“city”?????enable??????????????????????????н????????????????????10???????????м???????????????????
????raise TimeoutException(message)
????selenium.common.exceptions.TimeoutException: Message: ''
????python selenium??????????????????????
title_is title_contains
presence_of_element_located
visibility_of_element_located
visibility_of
presence_of_all_elements_located
text_to_be_present_in_element
text_to_be_present_in_element_value frame_to_be_available_and_switch_to_it
invisibility_of_element_located
element_to_be_clickable #it is Displayed and Enabled.
staleness_of
element_to_be_selected
element_located_to_be_selected
element_selection_state_to_be
element_located_selection_state_to_be alert_is_present