selenium中的上传文件时间:2024-12-06 11:08:08# 上传文件driver.find_element_by_xpath("//input[@value='上传文件']").send_keys(r"C:\Users\YKDZ065\Desktop\1.txt")