摘要:
问题:定位不到元素,但却不报错或者出现报错AttributeError: 'list' object has no attribute 'click' 如图 或者 解决方法: 将”driver.find_elements_by_xpath“改为“driver.find_element_by_xpat 阅读全文
posted @ 2018-07-20 16:49
怪盗积德
阅读(21166)
评论(4)
推荐(3)
摘要:
报错:NameError: name 'NoSuchElementException' is not defined 如图 解决方法: 头部加一句:from selenium.common.exceptions import NoSuchElementException 可解决 参考:https:/ 阅读全文
posted @ 2018-07-20 16:21
怪盗积德
阅读(2699)
评论(0)
推荐(0)

浙公网安备 33010602011771号