Hi team,
I was trying to download a file from a location on the internet after giving the credentials to log into the website. I am getting the download prompt for saving the file but I want to automate it and save the file locally. Is there a way I can get the prompt clicked and save it locally? I dont want to use Webclient.DownloadFile as it gives me proxy authentication error and my employer would not allow that. I want to directly click the download prompt and save it locally. Is there a way to do that in Powershell?
The download prompt has "Open","Save" (which further has "Save" and "Save As" options) and "Cancel" Button which we all come across when we try to download a file.
Help is truly appreciated.