Raul2018

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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()
posted on 2018-12-13 08:59  Raul2018  阅读(1927)  评论(0编辑  收藏  举报