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("//*[@]/div/select[2]/option[28]")
ActionChains(driver).move_to_element(Year1990).click(Year1990).perform()
- 上一篇 »selenium+java:获取列表中的值
- 下一篇 »html输入框中各种正则表达式设置