标签:lin 打印 sse link 技术 cut 获取 info int
for link in driver.find_elements_by_css_selector("tr:nth-child(1) > td.taskStatus use"):
assert_status = link.get_attribute(‘xlink:href‘)
print(assert_sttus)
# 打印出的值为‘#icon-taskStatus-executing’
标签:lin 打印 sse link 技术 cut 获取 info int
原文地址:https://www.cnblogs.com/tester-yu/p/14858509.html