selenium python选取下拉框中的值
时间:2018-12-13 10:18:16
收藏:0
阅读:381
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
评论(0)