I'm willing to write an automated test in Selenium WebDriver + JUnit that drops a local file into a drag & drop area of the browser. I've looked at the html code, but there's no input area where I could inject the local path to my file.
I've found some interesting resources :
- How to drag and drop an element from the current browser https://www.youtube.com/watch?v=egdUfivmm-k
- How to drag and drop a local file into the browser using Ruby (this thread also has a C# translation but I'm not used to these languages) : Using Selenium to imitate dragging a file onto an upload element
But none of these are appropriate for my special case. Can someone help?
Thank you.