Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

file downloads using headless and visible Chrome #65

Closed
kensoh opened this issue Oct 31, 2017 · 2 comments
Closed

file downloads using headless and visible Chrome #65

kensoh opened this issue Oct 31, 2017 · 2 comments
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Oct 31, 2017

File downloading for visible Chrome can be done by normal webpage interaction. However, headless Chrome by default prevents that for security reason. Chromium issue 696481 has made good progress to support a new Chrome DevTools Protocol method Page.setDownloadBehavior.

Chrome now allows overriding the default headless Chrome behavior of preventing downloads. This issue is raised to track the commits made to enable file downloads by default (to the same folder as flow file). A call is now made to enable file downloads to flow file folder, before an URL is accessed.

kensoh added a commit that referenced this issue Oct 31, 2017
File downloading for visible Chrome can be done by normal webpage
interaction. However, headless Chrome by default prevents that for
security reason. Chromium issue 696481 has made good progress to
support a new Chrome DevTools Protocol method Page.setDownloadBehavior.

Chrome now allows overriding the default headless Chrome behavior of
preventing downloads. This issue is raised to track the commits made to
enable file downloads by default (to the same folder as flow file). A
call is now made to enable file downloads to flow file folder, before
an URL is accessed.
@kensoh kensoh added the feature label Oct 31, 2017
@kensoh
Copy link
Member Author

kensoh commented Oct 31, 2017

closing issue, commit made to master and tested with sample flow 3_github

@kensoh kensoh closed this as completed Oct 31, 2017
@v-akos
Copy link

v-akos commented Dec 21, 2018

It seems that the method Page.setDownloadBehavior stopped woking with Chrome v71. You can read the same at the Chromium issue mentioned above.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants