selenium python选取下拉框中的值

https://stackoverflow.com/questions/47689936/unable-to-scroll-and-select-desired-year-from-calender-in-webdriver-python

Year1990 = driver.find_element_by_xpath("//*[@id='ui-datepicker-div']/div/select[2]/option[28]") ActionChains(driver).move_to_element(Year1990).click(Year1990).perform()

猜你喜欢

转载自www.cnblogs.com/Raul2018/p/10112075.html