from selenium.webdriver.support.select import Select
shen = driver.find_element_by_id('add-new-area-select')
Select(shen).select_by_visible_text('四川省')
from selenium.webdriver.support.select import Select
shen = driver.find_element_by_id('add-new-area-select')
Select(shen).select_by_visible_text('四川省')
本文标题:selenium下拉选择处理方式
本文链接:https://www.haomeiwen.com/subject/zisguhtx.html
网友评论