Closed hgwood closed 7 years ago
We could use both: host install and docker image.
For CircleCI, it supports a docker run. We could use the official image if exists or build our own image with all the dependencies.
Sample circle.yml with docker run
commands: https://github.com/Zenika/POC_EasyToGo/blob/master/circle.yml
Progress today:
--entrypoint
(see second example here)chrome-remote-interface
like shown here--print-pdf --remote-debugging-port=...
are specifiedneed to investigate more:
code is on branch headless-chrome-experiments
.
According to this, PDF printing can be triggered via the remote interface without --print-pdf
being there, and that's actually the preferred method.
PR: #192.
Supersedes #168.
Chrome 59 will support headless mode with pdf printing.
See branch
path-to-headless-chrome
and #187.Questions & answers:
Chrome Launcher (see here)Puppeteer (#201)PDF generation for slides is done (#187). Need to do the same for labs.