Testing html5 file upload with Capybara/Selenium? Testing html5 file upload with Capybara/Selenium? selenium selenium

Testing html5 file upload with Capybara/Selenium?


I am testing this with Selenium WebDriver.
it looks like:

WebElement element = driver.findElement(By.name("source"));WebElement target = driver.findElement(By.name("target"));(new Actions(driver)).dragAndDrop(element, target).perform();

more about Selenium WebDriver