python 自动化遇到的坑'list' object has no attribute 'click'

 

 

解决方法:

   将”driver.find_elements_by_xpath“改为“driver.find_element_by_xpath”即可解决。

 

这样就可以定位到预定按钮了

 

python 自动化遇到的坑'list' object has no attribute 'click'

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2021-12-08
  • 2022-12-23
  • 2021-11-30
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案