定位到被测的标签
全局查找div标签下的元素
document.querySelectorAll('li')
鼠标移动找到联动到的标签位置
document.querySelectorAll('li')[26]['children'][0]
selenium执行js操作点击下拉框即可
js="document.querySelectorAll('li')[26]['children'][0].click()"
dr.execute_script(js)
标签:定位,querySelectorAll,标签,元素,js,li,document,children From: https://www.cnblogs.com/amim/p/16613003.html