我想使用chrome上传excel文件:
driver.findElement(By.XPATH('//*[@id="main-menu"]/li[2]/ul/li[3]/a/span'))
fileInput.sendKeys("C://path//file.xlsx")
"button">Browse File</button>
-1.amazonaws.com/cloud.alerts/uploads/sample/sample_custom_smsfile.xlsx" style="padding: 6px 10px !important; ">Download Sample File