selenium webdriver 通过linktext定位

wylc123 1年前 ⋅ 345 阅读
from selenium.webdriver.common.by import By
# 获取bt文件磁链接
        hrefurl = self.driver.find_element(By.LINK_TEXT('下載檔案')).get_attribute('href')
更多内容请访问:IT源点

相关文章推荐

全部评论: 0

    我有话说: