使用Selenium WebDriver上傳文件時,我已經看到很多問題和解決方案。但是它們都不適合以下情況。有人給出了以下解決方案// assuming driver is a healthy WebDriver instanceWebElement fileInput = driver.findElement(By.name("uploadfile"));fileInput.sendKeys("C:/path/to/file.jpg");但是我仍然找不到窗口句柄。我該如何處理?我正在尋找上述方案的解決方案。請在以下任何網站上進行檢查。http://www.uploadify.com/demos/http://www.zamzar.com/
添加回答
舉報
0/150
提交
取消