selenium+python中<button type="button">元素怎么获取

selenium+python中<button type="button">怎么获取htE:\元素获取.bpm

元素获取.JPG (122.81 KB, 下载次数: 0)

第1个回答  推荐于2018-11-02
给它加个id在弄不就可以了。。。。如果本身页面就一个button,试试用这个find_element_by_css_selector("button").click(),多个的话就得一步一步定位了。。。比如find_element_by_css_selector(“html body button").click()本回答被网友采纳
第2个回答  2018-10-31
通过xpath路径来找
相似回答