@selenium java 點擊上傳文件按鈕,報Invalid argument的錯誤怎麽解決?
Java+Selenium 上传文件,点击选择“浏览文件”按钮,报错invalid argument
Actions ac = new Actions(dr);
ac.click(dr.findElement(By.xpath(" "))).build().perform();
網絡參考了別人的方法,自己親自試了后管用。
@selenium java 點擊上傳文件按鈕,報Invalid argument的錯誤怎麽解決?
Java+Selenium 上传文件,点击选择“浏览文件”按钮,报错invalid argument
Actions ac = new Actions(dr);
ac.click(dr.findElement(By.xpath(" "))).build().perform();
網絡參考了別人的方法,自己親自試了后管用。