This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-11-27
Channels
- # announcements (2)
- # aws (17)
- # babashka (13)
- # beginners (84)
- # calva (46)
- # chlorine-clover (40)
- # cider (19)
- # clojure (27)
- # clojure-australia (1)
- # clojure-europe (84)
- # clojure-nl (2)
- # clojure-uk (49)
- # clojurescript (65)
- # core-async (6)
- # cryogen (1)
- # cursive (11)
- # datomic (13)
- # etaoin (3)
- # jackdaw (5)
- # jobs (2)
- # kaocha (34)
- # minimallist (6)
- # off-topic (17)
- # pathom (2)
- # pedestal (11)
- # re-frame (8)
- # reagent (5)
- # rewrite-clj (19)
- # shadow-cljs (30)
Can you use etaion to print to pdf? Webdriver talks about it here: https://www.w3.org/TR/webdriver/#dfn-print-page
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
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
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