python - 遍历option,'WebElement' object is not iterable
巴扎黑
巴扎黑 2017-04-18 10:34:21
0
2
602

1,查了一下网上实现option遍历的方法,跟贴出来的一样,可是报错了

暂不清楚原因

巴扎黑
巴扎黑

reply all(2)
大家讲道理

Without s after getelements

洪涛

find_elements_by_tag_name
When looking for multiple elements, you need to add s
This group of functions must pay attention to this kind of problem

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template