etaoin

mmer 2024-02-07T17:11:09.080689Z

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.

mmer 2024-02-07T17:11:34.797429Z

(let [driver (e/chrome {:headless true :args ["--no-sandbox"]})
                                        url (str "https://" (:server options) "/auth/login")]
                                    (doto driver
                                      (e/go  url))

lread 2024-02-07T20:15:05.496469Z

@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.

mmer 2024-02-09T13:49:28.423439Z

Thanks, did not manage to overcome, but moved on to platform where it is working.

mmer 2024-02-09T13:51:48.219649Z

Sorry for not replying that I had moved on.

👍 1