danialfarid / ng-file-upload

Lightweight Angular directive to upload files with optional FileAPI shim for cross browser support
MIT License
7.87k stars 1.59k forks source link

automation testing in firefox 58 giving error: Element <input type="file"> is not reachable by keyboard #2059

Open nadeermalangadan opened 6 years ago

nadeermalangadan commented 6 years ago

I have user ng-file-upload in my project. Now am writing test cases using protractor, Not able to upload file in Firefox.

var input = element(by.css('input[type="file"][ngf-select="vm.uploadFiles($files, $invalidFiles)"]')); input.sendKeys(absolutePath);

While running in firefox its giving error

- Failed: Element <input type="file"> is not reachable by keyboard

In chrome its working