on running
(def driver (firefox))
getting
3. Unhandled clojure.lang.Compiler$CompilerException
Error compiling form-init7218438078652581296.clj at (6:13)
2. Caused by <http://java.io|java.io>.IOException
1. Caused by <http://java.io|java.io>.IOException
error=2, No such file or directory
UNIXProcess.java: -2 java.lang.UNIXProcess/forkAndExec
UNIXProcess.java: 247 java.lang.UNIXProcess/<init>
ProcessImpl.java: 134 java.lang.ProcessImpl/start
ProcessBuilder.java: 1029 java.lang.ProcessBuilder/start
proc.clj: 16 etaoin.proc/run
proc.clj: 12 etaoin.proc/run
api.clj: 2756 etaoin.api/run-driver
api.clj: 2653 etaoin.api/run-driver
RestFn.java: 423 clojure.lang.RestFn/invoke
api.clj: 2830 etaoin.api/boot-driver
...
am I supposed to have some other process running before invoking this? I'm new to WebDriver.ok,
(def driver (chrome))
worked.(def driver (firefox))
doesn't work for meI get
Show: Project-Only All
Hide: Clojure Java REPL Tooling Duplicates (12 frames hidden)
2. Unhandled clojure.lang.Compiler$CompilerException
Error compiling form-init3678264593908236466.clj at (67:19)
#:clojure.error{:phase :execution,
:line 67,
:column 19,
:source "form-init3678264593908236466.clj"}
Compiler.java: 3707 clojure.lang.Compiler$InvokeExpr/eval
Compiler.java: 457 clojure.lang.Compiler$DefExpr/eval
Compiler.java: 7182 clojure.lang.Compiler/eval
Compiler.java: 7132 clojure.lang.Compiler/eval
core.clj: 3214 clojure.core/eval
core.clj: 3210 clojure.core/eval
interruptible_eval.clj: 91 nrepl.middleware.interruptible-eval/evaluate/fn
main.clj: 437 clojure.main/repl/read-eval-print/fn
main.clj: 437 clojure.main/repl/read-eval-print
main.clj: 458 clojure.main/repl/fn
main.clj: 458 clojure.main/repl
main.clj: 368 clojure.main/repl
RestFn.java: 137 clojure.lang.RestFn/applyTo
core.clj: 665 clojure.core/apply
core.clj: 660 clojure.core/apply
regrow.clj: 18 refactor-nrepl.ns.slam.hound.regrow/wrap-clojure-repl/fn
RestFn.java: 1523 clojure.lang.RestFn/invoke
interruptible_eval.clj: 84 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 56 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 155 nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
AFn.java: 22 clojure.lang.AFn/run
session.clj: 190 nrepl.middleware.session/session-exec/main-loop/fn
session.clj: 189 nrepl.middleware.session/session-exec/main-loop
AFn.java: 22 clojure.lang.AFn/run
Thread.java: 748 java.lang.Thread/run
1. Caused by clojure.lang.ExceptionInfo
throw+: {:response {:value {:error "unknown error", :message "invalid
argument: can't kill an exited process", :stacktrace ""}}, :path "session",
:payload {:desiredCapabilities {:loggingPrefs {:browser "ALL"}}}, :method
:post, :type :etaoin/http-error, :port 47131, :host "127.0.0.1", :status 500,
:driver {:args ("geckodriver" "--port" 47131), :capabilities {:loggingPrefs
{:browser "ALL"}}, :process #object[java.lang.UNIXProcess 0x2ec0e260
"java.lang.UNIXProcess@2ec0e260"], :locator "xpath", :type :firefox, :env
nil, :port 47131, :host "127.0.0.1", :url "<http://127.0.0.1:47131>"}}
{:response
{:value
{:error "unknown error",
:message "invalid argument: can't kill an exited process",
:stacktrace ""}},
:path "session",
:payload {:desiredCapabilities {:loggingPrefs {:browser "ALL"}}},
:method :post,
:type :etaoin/http-error,
:port 47131,
:host "127.0.0.1",
:status 500,
:driver
{:args ("geckodriver" "--port" 47131),
:capabilities {:loggingPrefs {:browser "ALL"}},
:process
#object[java.lang.UNIXProcess 0x2ec0e260 "java.lang.UNIXProcess@2ec0e260"],
:locator "xpath",
:type :firefox,
:env nil,
:port 47131,
:host "127.0.0.1",
:url "<http://127.0.0.1:47131>"}}
support.clj: 201 slingshot.support/stack-trace
client.clj: 104 etaoin.client/call
client.clj: 71 etaoin.client/call
api.clj: 112 etaoin.api/execute
api.clj: 80 etaoin.api/execute
api.clj: 133 etaoin.api/create-session
api.clj: 127 etaoin.api/create-session
RestFn.java: 423 clojure.lang.RestFn/invoke
api.clj: 2786 etaoin.api/connect-driver
api.clj: 2762 etaoin.api/connect-driver
RestFn.java: 423 clojure.lang.RestFn/invoke
api.clj: 2831 etaoin.api/boot-driver
api.clj: 2815 etaoin.api/boot-driver
api.clj: 2826 etaoin.api/boot-driver
api.clj: 2815 etaoin.api/boot-driver
core.clj: 2623 clojure.core/partial/fn
AFn.java: 152 clojure.lang.AFn/applyToHelper
RestFn.java: 132 clojure.lang.RestFn/applyTo
Compiler.java: 3702 clojure.lang.Compiler$InvokeExpr/eval
Compiler.java: 457 clojure.lang.Compiler$DefExpr/eval
Compiler.java: 7182 clojure.lang.Compiler/eval
Compiler.java: 7132 clojure.lang.Compiler/eval
core.clj: 3214 clojure.core/eval
core.clj: 3210 clojure.core/eval
interruptible_eval.clj: 91 nrepl.middleware.interruptible-eval/evaluate/fn
main.clj: 437 clojure.main/repl/read-eval-print/fn
main.clj: 437 clojure.main/repl/read-eval-print
main.clj: 458 clojure.main/repl/fn
main.clj: 458 clojure.main/repl
main.clj: 368 clojure.main/repl
RestFn.java: 137 clojure.lang.RestFn/applyTo
core.clj: 665 clojure.core/apply
core.clj: 660 clojure.core/apply
regrow.clj: 18 refactor-nrepl.ns.slam.hound.regrow/wrap-clojure-repl/fn
RestFn.java: 1523 clojure.lang.RestFn/invoke
interruptible_eval.clj: 84 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 56 nrepl.middleware.interruptible-eval/evaluate
interruptible_eval.clj: 155 nrepl.middleware.interruptible-eval/interruptible-eval/fn/fn
AFn.java: 22 clojure.lang.AFn/run
session.clj: 190 nrepl.middleware.session/session-exec/main-loop/fn
session.clj: 189 nrepl.middleware.session/session-exec/main-loop
AFn.java: 22 clojure.lang.AFn/run
Thread.java: 748 java.lang.Thread/run