
selenium
深邃如海
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Selenim判断单选框选中
dr.find_element_by_xpath("").is_selected 先找到元素定位,一般都是一个input标签 然后直接判断即可原创 2018-10-29 12:30:47 · 219 阅读 · 0 评论 -
Selenium: either the element is no longer attached to the DOM, it is not in the curren
either the element is no longer attached to the DOM, it is not in the curren 元素不再附加到DOM 解决方法 每次都重新寻找xpath,并且加上延时 while n < 30 : path = "/html/body[@class='m-index zy']" diyiti = dr.find_e...原创 2018-10-28 00:46:05 · 2191 阅读 · 0 评论