这个错误意味着WebDriver对象没有find_elements_by_xpath方法。可能是因为您没有正确导入或实例化WebDriver对象。您需要检查代码并确保正确导入和实例化WebDriver对象。您可以尝试从selenium库中导入WebDriver并使用它来实例化一个对象。您还可以尝试检查是否正确安装了selenium库。

not_marked_elements = driverfind_elements_by_xpathdivclass=status not-marked ng-scope and ng-if=subjectListgetIndexrow column and subjectListgetIndexrow columnscore == nullspanclass=text ng-binding an

原文地址: https://www.cveoy.top/t/topic/hfsj 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录