Re:Show HN: Chromeless – Headless Chrome Automation on AWS L...
by adieuadieu on Wednesday July 26, 2017 @04:56PM
(#14860269)
Other than taking a screenshot and evaluating JS code in the context of Chrome and returning JSON, we haven't yet implemented any file-download features. But it might be possible for us to implement something. Would you mind creating an issue here describing your use case so we can discuss it further? https://github.com/graphcool/chromeless/issues/new
[ Parent
| on HN ]
Re:Show HN: Chromeless – Headless Chrome Automation on AWS L...
by kensoh on Wednesday July 26, 2017 @06:21PM
(#14860909)
By design, headless Chrome disables file downloads. This is being tracked at this issue to offer a way to enable that, and the issue seems to be moving along =) https://bugs.chromium.org/p/chromium/issues/detail?id=696481
EDIT - above is assuming downloading a file by simulating a click event to perform the download. there may be other workarounds by script injection etc to use XMLHttpRequest() for downloading a resource directly.