【发布时间】:2021-02-18 05:43:23
【问题描述】:
您好,我正在使用 selenium,我想查找 webelement 中存在的所有 href 值
links=profiles.find_elements_by_tag_name("a").get_attribute('href')
但它给了我错误
AttributeError: 'list' object has no attribute 'get_attribute'
【问题讨论】:
标签: python selenium-webdriver webdriverwait attributeerror getattribute