3

Is there a way to test the name and/or the extension of a downloaded file by my application in protractor?

andrepm
  • 867
  • 4
  • 13
  • 31
  • I don't see how that's a duplicate. The other questions asks how to test whether the file downloaded correctly. – Adi Inbar Dec 05 '14 at 22:02

1 Answers1

0

Using node.js filesystem, you can read the files in a directory and verify something about them in a protractor test. There is nothing special provided by protractor to emulate that functionality.

martin770
  • 1,271
  • 11
  • 15