Script that clicks download and downloads files

to download multiple file from a single user interaction: the click on the link. script is that we have a link on the page that should react with the download of