Home  >  Q&A  >  body text

python - 遍历option,'WebElement' object is not iterable

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

暂不清楚原因

巴扎黑巴扎黑2741 days ago564

reply all(2)I'll reply

  • 大家讲道理

    大家讲道理2017-04-18 10:36:21

    Without s after getelements

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 10:36:21

    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

    reply
    0
  • Cancelreply