From e06f82a73f28df4e0b33daf735e6c4d4c5eab524 Mon Sep 17 00:00:00 2001 From: John Wiseman Date: Mon, 2 Mar 2020 22:59:14 -0800 Subject: [PATCH] Headless! --- src/main/lemondronor/circlebot/adsbx.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/lemondronor/circlebot/adsbx.cljs b/src/main/lemondronor/circlebot/adsbx.cljs index 4751ac1..58e882c 100644 --- a/src/main/lemondronor/circlebot/adsbx.cljs +++ b/src/main/lemondronor/circlebot/adsbx.cljs @@ -47,7 +47,7 @@ (log-info "Taking screenshot of aircraft %s at %s %s" icao lat lon) (let [icao-selector (gstring/format "//td[contains(., '%s')]" (string/upper-case icao)) - launch-options {:headless (get options :headless? false) + launch-options {:headless (get options :headless? true) :defaultViewport (get options :viewport {:width 1600 :height 800})} took-screenshot?_ (atom false)]