I am using Robocorp, an RPA platform.
I have two questions on the best way to do this:
Should I simply change the Chrome settings on the RPA.Browser.Selenium library to ask for the download location upon downloading. (Note that I have not been able to get this to work in Robocorp)
Or should I wait for a new file to appear in the bot's "Downloads" folder and then manage that file from there?
Above is an image of one of my many attempts of editing the 'options' argument of the Open Available Browser task to ask me where to save the file prior to downloading. I noticed there is also a 'download' argument but I do not believe it is the right one to edit based on some research.
https://robocorp.com/docs/libraries/rpa-framework/rpa-browser/keywords#open-available-browser
Here is the docs page for the "Open Available Browser' task in Selenium that shows all of its arguments.
Is there a more reliable way to do this?
This is a bit tricky scenario. First, I will start by stating I do not have any experience in Robocorp tool. But this is a generic problem in test automation and RPA. There are few things to consider while waiting for a file to download including;
So to overcome this I would take the following approach. (tested and working for more than 4+ prod level automation frameworks with >20k scenarios)