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()
原文地址:https://www.cnblogs.com/Raul2018/p/10112075.html
时间: 2024-10-11 13:48:15