Fork me on GitHub
#etaoin
<
2022-05-25
>
borkdude15:05:35

Hi etaoinians! https://github.com/clj-commons/etaoin on the Github master branch is now bb compatible. This means you can write your browser tests in #babashka! An example:

(ns etaoin
  (:require [babashka.deps :as deps]))

(deps/add-deps '{:deps {etaoin/etaoin {:git/url ""
                                       :git/sha "e1b7df647740536cec7b8528fe4c84ae21f94ab7"}}})

(require '[etaoin.api :as api])

;; brew install geckodriver

(def driver (api/firefox))

(api/go driver "")

(api/quit driver)

👏 3
🎉 2