'open hyperlink from web based app then save as CSV

We have a report from a web based application which has a button called "Export". Once the export button has been pressed there's a drop-down to select "PDF" or "CSV". I'm wondering if there's a script that could run the report from the browser, then download the "CSV" file under "export"???

Any help would be greatly appreciated. screenshot of application



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source