{"action":"created","issue":{"url":"https://api.github.com/repos/laurentj/slimerjs/issues/110","labels_url":"https://api.github.com/repos/laurentj/slimerjs/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/laurentj/slimerjs/issues/110/comments","events_url":"https://api.github.com/repos/laurentj/slimerjs/issues/110/events","html_url":"https://github.com/laurentj/slimerjs/issues/110","id":22195360,"number":110,"title":"File download","user":{"login":"kogeva","id":3188625,"avatar_url":"https://avatars.githubusercontent.com/u/3188625?v=3","gravatar_id":"","url":"https://api.github.com/users/kogeva","html_url":"https://github.com/kogeva","followers_url":"https://api.github.com/users/kogeva/followers","following_url":"https://api.github.com/users/kogeva/following{/other_user}","gists_url":"https://api.github.com/users/kogeva/gists{/gist_id}","starred_url":"https://api.github.com/users/kogeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kogeva/subscriptions","organizations_url":"https://api.github.com/users/kogeva/orgs","repos_url":"https://api.github.com/users/kogeva/repos","events_url":"https://api.github.com/users/kogeva/events{/privacy}","received_events_url":"https://api.github.com/users/kogeva/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laurentj/slimerjs/labels/PhantomJS%20parity","name":"PhantomJS parity","color":"02d7e1"},{"url":"https://api.github.com/repos/laurentj/slimerjs/labels/to%20confirm/investigate","name":"to confirm/investigate","color":"bbbbbb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/laurentj/slimerjs/milestones/12","html_url":"https://github.com/laurentj/slimerjs/milestones/SlimerJS%200.10","labels_url":"https://api.github.com/repos/laurentj/slimerjs/milestones/12/labels","id":468413,"number":12,"title":"SlimerJS 0.10","description":"","creator":{"login":"laurentj","id":336034,"avatar_url":"https://avatars.githubusercontent.com/u/336034?v=3","gravatar_id":"","url":"https://api.github.com/users/laurentj","html_url":"https://github.com/laurentj","followers_url":"https://api.github.com/users/laurentj/followers","following_url":"https://api.github.com/users/laurentj/following{/other_user}","gists_url":"https://api.github.com/users/laurentj/gists{/gist_id}","starred_url":"https://api.github.com/users/laurentj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurentj/subscriptions","organizations_url":"https://api.github.com/users/laurentj/orgs","repos_url":"https://api.github.com/users/laurentj/repos","events_url":"https://api.github.com/users/laurentj/events{/privacy}","received_events_url":"https://api.github.com/users/laurentj/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":9,"state":"open","created_at":"2013-10-29T21:30:45Z","updated_at":"2015-04-23T19:07:19Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2013-11-06T13:54:11Z","updated_at":"2015-05-17T20:43:11Z","closed_at":null,"body":"Hello, please add ability  for download file in Slimer.   For example in PhantomJs https://github.com/ariya/phantomjs/issues/10052"},"comment":{"url":"https://api.github.com/repos/laurentj/slimerjs/issues/comments/102855026","html_url":"https://github.com/laurentj/slimerjs/issues/110#issuecomment-102855026","issue_url":"https://api.github.com/repos/laurentj/slimerjs/issues/110","id":102855026,"user":{"login":"Brade","id":46009,"avatar_url":"https://avatars.githubusercontent.com/u/46009?v=3","gravatar_id":"","url":"https://api.github.com/users/Brade","html_url":"https://github.com/Brade","followers_url":"https://api.github.com/users/Brade/followers","following_url":"https://api.github.com/users/Brade/following{/other_user}","gists_url":"https://api.github.com/users/Brade/gists{/gist_id}","starred_url":"https://api.github.com/users/Brade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brade/subscriptions","organizations_url":"https://api.github.com/users/Brade/orgs","repos_url":"https://api.github.com/users/Brade/repos","events_url":"https://api.github.com/users/Brade/events{/privacy}","received_events_url":"https://api.github.com/users/Brade/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T20:43:11Z","updated_at":"2015-05-17T20:43:11Z","body":"@DarrenCook Your method is appreciated, but it doesn't seem to work for files that would normally show a download prompt. I'm simply trying to get a CSV from here (click the \"Export Data\" link): http://www.fangraphs.com/projections.aspx?pos=all&stats=bat&type=steameru\r\n\r\nIt's extremely discouraging that both PhantomJS and SlimerJS can't handle this scenario. With Phantom you can at least see the text/csv stuff come across in onResourceReceived (I guess because webkit doesn't bring up a download prompt, it just downloads the file), but as of now there's no way to get the actual body content, as per issue #10052 mentioned in the first comment. But Slimer shows no CSV data coming across."}}