Headless!
This commit is contained in:
parent
70474938ac
commit
e06f82a73f
@ -47,7 +47,7 @@
|
|||||||
(log-info "Taking screenshot of aircraft %s at %s %s" icao lat lon)
|
(log-info "Taking screenshot of aircraft %s at %s %s" icao lat lon)
|
||||||
(let [icao-selector (gstring/format "//td[contains(., '%s')]"
|
(let [icao-selector (gstring/format "//td[contains(., '%s')]"
|
||||||
(string/upper-case icao))
|
(string/upper-case icao))
|
||||||
launch-options {:headless (get options :headless? false)
|
launch-options {:headless (get options :headless? true)
|
||||||
:defaultViewport (get options :viewport {:width 1600
|
:defaultViewport (get options :viewport {:width 1600
|
||||||
:height 800})}
|
:height 800})}
|
||||||
took-screenshot?_ (atom false)]
|
took-screenshot?_ (atom false)]
|
||||||
|
Loading…
Reference in New Issue
Block a user