I have an HTML editor that accepts drag and drop files. I need to check that it is a cucumber (using Capybara and Poltergeist), but I can not find anything talking about how to do this. I found that Capybara supports drag and drop, but only mentions the detection of existing page elements and drags them. I need to send a file to a browser that does not exist yet.
The editor has a contenteditable div that takes the file and then sends it to S3 via JS.
source
share