We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome 59 has supported a new headless mode! 🎉
To try it, add a line below to your .bash_profile:
.bash_profile
alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
Then, reload .bash_profile:
$ source ~/.bash_profile
and, run Chrome in headless mode:
headless
$ chrome --headless --disable-gpu --virtual-time-budget=1000 --print-to-pdf=github.pdf https://github.com/
--disable-gpu
--print-to-pdf
--virtual-time-budget
See more details here:
Good luck!
The text was updated successfully, but these errors were encountered:
How to delay pdf print if window load event is fired but page is not rendered yet?
Sorry, something went wrong.
No branches or pull requests
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: