Hi I am running a test against chrome on a headless redhat set up. I am seeing: "unknown error: net::ERR_CONNECTION_REFUSED
Any ideas? I ran this with a headed system OK.
(let [driver (e/chrome {:headless true :args ["--no-sandbox"]})
url (str "https://" (:server options) "/auth/login")]
(doto driver
(e/go url))@mmer, can't type much as I am still recovering from an injury. Here is what I tried, it worked here:
(require '[etaoin.api :as e])
(def driver (e/chrome {:headless true :args ["--no-sandbox"]}))
(e/go driver " ")
(e/get-title driver)
;; => "Clojure"
(e/quit driver)
One thing to check is that you are using latest chrome, chromedriver and etaoin.Thanks, did not manage to overcome, but moved on to platform where it is working.
Sorry for not replying that I had moved on.