调试程序的时候,总是提示:AttributeError: 'Element' object has no attribute 'tagname'

对着书,对照调试练习,程序和书上写的代码是一样的,可是一运行就出现下面的错误,怎么找都找不出问题。

python3+selenium程序调试记录------报错提示:AttributeError: 'Element' object has no attribute 'tagname'

 仔细查找,然后又百度了一下网上的资料,发现我写的tagName,N写成了小写n,没有注意大小写的后果。

郁闷,o(╥﹏╥)o

python3+selenium程序调试记录------报错提示:AttributeError: 'Element' object has no attribute 'tagname'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-04-07
  • 2021-04-19
  • 2021-09-08
  • 2021-12-17
猜你喜欢
  • 2022-12-23
  • 2021-11-03
  • 2021-04-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
  • 2021-09-02
相关资源
相似解决方案