Hi - I'm attempting to build a flow in Power Automate Desktop that downloads a report from a website. The report itself has a direct link I can use outside of PAD such as https://site.com/export.aspx?export=xls%det=<report name> which downloads the report in Excel format. However when I try to use PAD to "Download from Web", it downloads the export.aspx or sometimes login.aspx if authentication is needed. I am able to automate opening a new Chrome session, going to the login page and logging in, and then telling it to "Download from Web", but even then it only downloads an aspx file instead of the report. It's almost like PAD isn't able to handle the values being passed after the .aspx?.
I've tried simulating logging into the site, going to the report page and telling it to click on the export report link itself, but that's been unpredictable as sometimes it doesn't keep the webpage in focus or doesn't find the UI element I made for the export button. Ideally I'd like to use these direct export links I have since I have a lot of reports I can download using them and I'm trying to avoid having to load up each report and hitting the export button.
Is there a better way of handling this kind of download flow?
Thanks!