I'm having trouble getting the contents of a CSV file that is being downloaded via CasperJs/PhantomJS. The file download is being triggered via link on the page being clicked and a resourceRecieved event is triggered and I can access the header/meta info for the file, but I can't get the content of the file which is what I need.
What does it take to get the content of a CSV file in CasperJS/PhantomJS?