原文:'list' object has no attribute 'click'爬虫问题解决

一 问题描述 爬虫点击窗口或某一元素,出现 list object has no attribute click 错误 二 解决方法 修改find 方法,如图所示: 说明: .只查找一个元素的时候,可以使用find element xxx xxx 或find elements xxx xxx find element xxx xxx 会返回一个WebElement节点对象 如果没找到会报错,而fi ...

2021-03-16 11:45 0 330 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM