I am using Protractor to write e2e tests for my application. There is a test case where I need to download a file and validate the content in that file. I manage to write this test case for Chrome where I set all parameters in chrome config, but when I try to do the same for Firefox and new Microsoft Edge I have a problem. I can't save files at right place, so I can't use them later in the test.
What should I add in the config for these two browser so I can point downloaded files to the correct download directory? What are the correct parameters for these two browsers and how can I set them properly? How can I avoid Firefox Save As dialog box when I downloading a file?
Note: I have a different config file for each browser.
Aucun commentaire:
Enregistrer un commentaire