@Fox Ok nevermind thanks for the help. I didnt see that link when I searched that link you sent me. But all I had to do was remove the quotation marks in my own script and it worked.
Downloading a pdf file, making directory, chrome
-
Instead of clicking on download button you have to take download link.
You can do that with "get element atribute", and as atribute use href.
Than use that link in "Download" action. There you have to define
full download file path along with downloaded file name and extension.
So you can define your desirable folder.