My AngularJS SPA allows users to upload files using the ng-flow wrapper for flow.js. I am currently in the process of setting up automated e2e tests with Selenium, but I am facing challenges when it comes to testing the file uploading mechanism triggered by clicking the flow-btn element or using drag and drop functionality.
After some research, I came across a page which mentioned that Selenium WebDriver might not be able to recognize the dialog box that appears when the flow-btn is clicked. The issue stems from the fact that the flow-btn is actually implemented as a span element, not an input element as suggested in the solution provided on the page.
Do you have any suggestions on how I can effectively test file uploading with flow.js using Selenium?