How do I write a test that download a file, and post it in a form.
it "should support download and upload a file", ->
upload = element(By.id 'UploadInput');
upload.sendKeys 'C:\\path\\to\\file\\file.txt'
Currently the upload works, but how do I download a file before and get it's path?
Solved it by adding the file to project and got the absolute path like this: