The file download is triggered by clicking on a button. The button has an onclick
attribute which initiates the file download.
Since I don't have the file url direclty. I cant use the request module to request the file as described in Download a file using Nightmare