I need to automate downloads of files that have different formats for example: .jpeg .JPG .tiff .pdf .png .bpm
The problem is, I don’t know what the file is until I click to download it.
And depending on the type of file it opens a new browser tab for example .pdf and .jpeg
When the file is .JPG the download is direct, how do I make the robot identify that it has already downloaded it or use hotkey “crtl +s” to save the file?
so you can first the click activity, and then attach window for the new tab displayed, then download the element. lastly surround with try catch activity that secuence.
example:
Let me see if I understand, do I put the click to run the download before the try catch and if you download it, go to a new search and if you open the new tab in the browser does it run the exception?