Public Vars

Back

with-chrome-headless (clj)

(source)

macro

(with-chrome-headless opts? bind & body)
Executes `body` with a headless Chrome driver session bound to `bind`. Driver is automatically launched and terminated (even if an exception occurs). `opts` map can be omitted, see [Driver Options](/doc/01-user-guide.adoc#driver-options). Example: ```Clojure (with-chrome-headless driver (go driver "https://clojure.org")) ```

Examples