I am using Powershell to drive .NET Selenium and a FirefoxDriver to automate some stuff. Part of that is file uploads and the website happens to written (at least partly) with AngularJS.
Now I have figured out how to do automate the file upload with a normal input element. Just send the file path via SendKeys.
But I can't figure it out for this situation. The HTML for the file drop area with optional manual file selector is as follows:
<div class="overflowHidden video-drop-zone file-drop-zone zone appversionicon rounded"
<span class="ng-binding ng-hide" ng-show="dropLabel !== undefined && dropLabel !== ''"><br></span>
<a class="ng-binding" href="" ng-show="true">Select file</a>
<input class="" ng-show="true" ng-file-select="onFileSelect($files)" type="file">
Not sure how your entire set up looks like. But file upload is much easier in selenium.
should do it