New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to create PDF by Chrome headless #13
Comments
How to delay pdf print if window load event is fired but page is not rendered yet? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chrome 59 has supported a new headless mode! 馃帀
To try it, add a line below to your
.bash_profile
:Then, reload
.bash_profile
:and, run Chrome in
headless
mode:--disable-gpu
: this is needed to avoid error--print-to-pdf
: set file to output--virtual-time-budget
: set time to wait after document ready (for SPA)See more details here:
Good luck!
The text was updated successfully, but these errors were encountered: