{"action":"created","issue":{"url":"https://api.github.com/repos/igrishaev/etaoin/issues/89","repository_url":"https://api.github.com/repos/igrishaev/etaoin","labels_url":"https://api.github.com/repos/igrishaev/etaoin/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/igrishaev/etaoin/issues/89/comments","events_url":"https://api.github.com/repos/igrishaev/etaoin/issues/89/events","html_url":"https://github.com/igrishaev/etaoin/issues/89","id":288654226,"number":89,"title":"Hummm...  get-element-value throws error...","user":{"login":"bherrmann7","id":33614,"avatar_url":"https://avatars3.githubusercontent.com/u/33614?v=4","gravatar_id":"","url":"https://api.github.com/users/bherrmann7","html_url":"https://github.com/bherrmann7","followers_url":"https://api.github.com/users/bherrmann7/followers","following_url":"https://api.github.com/users/bherrmann7/following{/other_user}","gists_url":"https://api.github.com/users/bherrmann7/gists{/gist_id}","starred_url":"https://api.github.com/users/bherrmann7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bherrmann7/subscriptions","organizations_url":"https://api.github.com/users/bherrmann7/orgs","repos_url":"https://api.github.com/users/bherrmann7/repos","events_url":"https://api.github.com/users/bherrmann7/events{/privacy}","received_events_url":"https://api.github.com/users/bherrmann7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-01-15T16:38:17Z","updated_at":"2018-02-12T10:16:31Z","closed_at":null,"author_association":"NONE","body":"Could be something noobish, but with FireFox 57.0.4 and geckodriver 0.19.0 when running,\r\n\r\n$ cat a.boot\r\n```\r\n#!/usr/bin/env boot\r\n(set-env! :dependencies '[[etaoin \"0.2.2\"]])\r\n(require '[etaoin.api :as a])\r\n(require '[etaoin.keys :as k])\r\n(def driver (a/firefox))\r\n(a/go driver \"https://www.wikipedia.org\")\r\n(a/wait-visible driver  {:tag :select})\r\n(a/get-element-value driver {:tag :select})\r\n\r\n```\r\nI get this exception,\r\n```\r\n$ ./a.boot\r\nClasspath conflict: org.clojure/clojure version 1.8.0 already loaded, NOT loading version 1.4.0\r\n                                                  Boot.main                    Boot.java:  257\r\n                                                        ...                                   \r\n                                              boot.App.main                     App.java:  491\r\n                                           boot.App.runBoot                     App.java:  399\r\norg.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  150\r\norg.projectodd.shimdandy.impl.ClojureRuntimeShimImpl.invoke  ClojureRuntimeShimImpl.java:  159\r\n                                                        ...                                   \r\n                                            boot.main/-main                     main.clj:  216\r\n                                         boot.main/-main/fn                     main.clj:  216\r\n                                   clojure.core/load-string                     core.clj: 3959\r\n                                   clojure.core/load-reader                     core.clj: 3957\r\n                                                        ...                                   \r\n                                  boot.user$eval4532.invoke                             :   12\r\n                            boot.user$eval4532.invokeStatic                             :   12\r\n                               etaoin.api/get-element-value                      api.clj:  981\r\n                            etaoin.api/get-element-value-el                      api.clj:  972\r\n                                         etaoin.client/call                   client.clj:   97\r\n                              slingshot.support/stack-trace                  support.clj:  201\r\nclojure.lang.ExceptionInfo: throw+: {:response {:value {:error \"unknown command\", :message \"GET /session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value did not match a known command\", :stacktrace \"stack backtrace:\\n   0:           0x4f388c - backtrace::backtrace::trace::h736111741fa0878e\\n   1:           0x4f38c2 - backtrace::capture::Backtrace::new::h63b8a5c0787510c9\\n   2:           0x442d88 - webdriver::error::WebDriverError::new::hea6d4dbf778b2b24\\n   3:           0x43c65f - <webdriver::server::HttpHandler<U> as hyper::server::Handler>::handle::hd03629bd67672697\\n   4:           0x403a04 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32e6ff325c0d7f46\\n   5:           0x40c036 - std::panicking::try::do_call::h5f902dc1eea01ffe\\n   6:           0x5e38ec - panic_unwind::__rust_maybe_catch_panic\\n                        at /checkout/src/libpanic_unwind/lib.rs:98\\n   7:           0x4209a2 - <F as alloc::boxed::FnBox<A>>::call_box::h032bafb4b576d1cd\\n   8:           0x5dc00b - alloc::boxed::{{impl}}::call_once<(),()>\\n                        at /checkout/src/liballoc/boxed.rs:661\\n                         - std::sys_common::thread::start_thread\\n                        at /checkout/src/libstd/sys_common/thread.rs:21\\n                         - std::sys::imp::thread::{{impl}}::new::thread_start\\n                        at /checkout/src/libstd/sys/unix/thread.rs:84\"}}, :path \"session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value\", :payload nil, :method :get, :type :etaoin/http-error, :port 52611, :host \"127.0.0.1\", :status 404, :driver {:args (\"geckodriver\" \"--port\" 52611), :capabilities {:loggingPrefs {:browser \"ALL\"}}, :process #object[java.lang.UNIXProcess 0xb7d2d51 \"java.lang.UNIXProcess@b7d2d51\"], :locator \"xpath\", :type :firefox, :env nil, :port 52611, :host \"127.0.0.1\", :url \"http://127.0.0.1:52611\", :session \"a75f6218-8e4a-4569-b159-12aa93163f92\"}}\r\n      driver: {:args (\"geckodriver\" \"--port\" 52611),\r\n               :capabilities {:loggingPrefs {:browser \"ALL\"}},\r\n               :process\r\n               #object[java.lang.UNIXProcess 0xb7d2d51 \"java.lang.UNIXProcess@b7d2d51\"],\r\n               :locator \"xpath\",\r\n               :type :firefox,\r\n               :env nil,\r\n               :port 52611,\r\n               :host \"127.0.0.1\",\r\n               :url \"http://127.0.0.1:52611\",\r\n               :session \"a75f6218-8e4a-4569-b159-12aa93163f92\"}\r\n        host: \"127.0.0.1\"\r\n      method: :get\r\n        path: \"session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value\"\r\n     payload: nil\r\n        port: 52611\r\n    response: {:value\r\n               {:error \"unknown command\",\r\n                :message\r\n                \"GET /session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value did not match a known command\",\r\n                :stacktrace\r\n                \"stack backtrace:\\n   0:           0x4f388c - backtrace::backtrace::trace::h736111741fa0878e\\n   1:           0x4f38c2 - backtrace::capture::Backtrace::new::h63b8a5c0787510c9\\n   2:           0x442d88 - webdriver::error::WebDriverError::new::hea6d4dbf778b2b24\\n   3:           0x43c65f - <webdriver::server::HttpHandler<U> as hyper::server::Handler>::handle::hd03629bd67672697\\n   4:           0x403a04 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32e6ff325c0d7f46\\n   5:           0x40c036 - std::panicking::try::do_call::h5f902dc1eea01ffe\\n   6:           0x5e38ec - panic_unwind::__rust_maybe_catch_panic\\n                        at /checkout/src/libpanic_unwind/lib.rs:98\\n   7:           0x4209a2 - <F as alloc::boxed::FnBox<A>>::call_box::h032bafb4b576d1cd\\n   8:           0x5dc00b - alloc::boxed::{{impl}}::call_once<(),()>\\n                        at /checkout/src/liballoc/boxed.rs:661\\n                         - std::sys_common::thread::start_thread\\n                        at /checkout/src/libstd/sys_common/thread.rs:21\\n                         - std::sys::imp::thread::{{impl}}::new::thread_start\\n                        at /checkout/src/libstd/sys/unix/thread.rs:84\"}}\r\n      status: 404\r\n        type: :etaoin/http-error\r\nclojure.lang.ExceptionInfo: throw+: {:response {:value {:error \"unknown command\", :message \"GET /session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value did not match a known command\", :stacktrace \"stack backtrace:\\n   0:           0x4f388c - backtrace::backtrace::trace::h736111741fa0878e\\n   1:           0x4f38c2 - backtrace::capture::Backtrace::new::h63b8a5c0787510c9\\n   2:           0x442d88 - webdriver::error::WebDriverError::new::hea6d4dbf778b2b24\\n   3:           0x43c65f - <webdriver::server::HttpHandler<U> as hyper::server::Handler>::handle::hd03629bd67672697\\n   4:           0x403a04 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32e6ff325c0d7f46\\n   5:           0x40c036 - std::panicking::try::do_call::h5f902dc1eea01ffe\\n   6:           0x5e38ec - panic_unwind::__rust_maybe_catch_panic\\n                        at /checkout/src/libpanic_unwind/lib.rs:98\\n   7:           0x4209a2 - <F as alloc::boxed::FnBox<A>>::call_box::h032bafb4b576d1cd\\n   8:           0x5dc00b - alloc::boxed::{{impl}}::call_once<(),()>\\n                        at /checkout/src/liballoc/boxed.rs:661\\n                         - std::sys_common::thread::start_thread\\n                        at /checkout/src/libstd/sys_common/thread.rs:21\\n                         - std::sys::imp::thread::{{impl}}::new::thread_start\\n                        at /checkout/src/libstd/sys/unix/thread.rs:84\"}}, :path \"session/a75f6218-8e4a-4569-b159-12aa93163f92/element/81d82ea6-c3a6-4508-8de1-ff027f6bab16/value\", :payload nil, :method :get, :type :etaoin/http-error, :port 52611, :host \"127.0.0.1\", :status 404, :driver {:args (\"geckodriver\" \"--port\" 52611), :capabilities {:loggingPrefs {:browser \"ALL\"}}, :process #object[java.lang.UNIXProcess 0xb7d2d51 \"java.lang.UNIXProcess@b7d2d51\"], :locator \"xpath\", :type :firefox, :env nil, :port 52611, :host \"127.0.0.1\", :url \"http://127.0.0.1:52611\", :session \"a75f6218-8e4a-4569-b159-12aa93163f92\"}}\r\n    line: 12\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/igrishaev/etaoin/issues/comments/364880158","html_url":"https://github.com/igrishaev/etaoin/issues/89#issuecomment-364880158","issue_url":"https://api.github.com/repos/igrishaev/etaoin/issues/89","id":364880158,"user":{"login":"igrishaev","id":1059232,"avatar_url":"https://avatars0.githubusercontent.com/u/1059232?v=4","gravatar_id":"","url":"https://api.github.com/users/igrishaev","html_url":"https://github.com/igrishaev","followers_url":"https://api.github.com/users/igrishaev/followers","following_url":"https://api.github.com/users/igrishaev/following{/other_user}","gists_url":"https://api.github.com/users/igrishaev/gists{/gist_id}","starred_url":"https://api.github.com/users/igrishaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igrishaev/subscriptions","organizations_url":"https://api.github.com/users/igrishaev/orgs","repos_url":"https://api.github.com/users/igrishaev/repos","events_url":"https://api.github.com/users/igrishaev/events{/privacy}","received_events_url":"https://api.github.com/users/igrishaev/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T10:16:31Z","updated_at":"2018-02-12T10:16:31Z","author_association":"OWNER","body":"@bherrmann7 @nenadalm Hi guys, since the issue is outdated a bit, could you try the a version of the library: `[etaoin \"0.2.6\"]`? It might have this bug fixed.\r\n"}}
{"actor":{"display_login":"igrishaev"}}