hara.runtime.chromedriver.connection

conn-attach

added in 4.0

(conn-attach conn & [curr-target])

creates a new target and attaches

conn-close

added in 4.0

(conn-close {:keys [websocket target-id attach], :as conn, :or {attach true}})

closes the target and disconnects the devtools connection

conn-create

added in 4.0

(conn-create & [{:keys [host port attach], :as m, :or {attach true}}])

creates a devtools connection

conn-create-raw

added in 4.0

(conn-create-raw & [{:keys [host port attach], :as m, :or {attach true}}])

connection function (can error on OSX)

conn-process

added in 4.0

(conn-process requests data)

processes the return call

gen-id

added in 4.0

(gen-id requests)

generates an id

send

added in 4.0

(send {:keys [websocket requests session-id]} method & [params timeout opts])

sends a command to the process

ws-url

added in 4.0

(ws-url {:keys [scheme host port], :or {host "localhost", port 9222, scheme "http"}})

gets the ws-url