etaoin

voortuck 2020-11-27T16:00:25.019900Z

@bill.h.tucker has joined the channel

voortuck 2020-11-27T16:02:35.020700Z

Can you use etaion to print to pdf? Webdriver talks about it here: https://www.w3.org/TR/webdriver/#dfn-print-page

rgm 2020-11-27T18:29:40.021700Z

I went poking through etaoin looking for this ability but eventually ended up using tatut/clj-chrome-devtools … here’s an example https://github.com/rgm/experiments/blob/master/202011-headless-chrome/src/rgm/core.clj#L29-L36

rgm 2020-11-27T18:30:43.022100Z

you’ll need a headless chrome instance running and listening to port 9222. I’ve used Docker on my laptop but could also just have something running as eg. a systemd service https://github.com/rgm/experiments/blob/master/202011-headless-chrome/Makefile#L5