You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browser vendor: chrome
WebDriver version: https://github.com/SeleniumHQ/docker-selenium / selenium/standalone-chrome:4.8.0-20230131
Local version: Version 109.0.5414.74 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
Symptom
using either wait-visible or fill functions while connected to remote webdriver returns following stack trace:
Exception in thread "main" java.lang.AssertionError: Assert failed: (some? el)
at etaoin.api$fn__13521.invokeStatic(api.clj:2820)
at etaoin.api$fn__13521.doInvoke(api.clj:2820)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at clojure.lang.MultiFn.invoke(MultiFn.java:238)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core$apply.invokeStatic(core.clj:663)
at clojure.core$apply.invoke(core.clj:652)
at etaoin.api$fill.invokeStatic(api.clj:2872)
at etaoin.api$fill.doInvoke(api.clj:2861)
at clojure.lang.RestFn.invoke(RestFn.java:445)
at ct.s.core$login_BANG_.invokeStatic(core.clj:37)
at ct.s.core$login_BANG_.invoke(core.clj:31)
at ct.core$sync_BANG_.invokeStatic(core.clj:210)
at ct.core$sync_BANG_.invoke(core.clj:205)
at ct.cli$run_program_BANG_.invokeStatic(cli.clj:41)
at ct.cli$run_program_BANG_.invoke(cli.clj:29)
at ct.cli$_main.invokeStatic(cli.clj:176)
at ct.cli$_main.doInvoke(cli.clj:167)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at clojure.lang.AFn.applyToHelper(AFn.java:156)
at clojure.lang.RestFn.applyTo(RestFn.java:132)
at ct.cli.main(Unknown Source)
Reproduction
run (to spawn a remote webdriver): docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:4.8.0-20230131
then using REPL - show that when connected to remote this function doesn't work, while they do when running with direct webdriver:
oh, ok - agreed, #378 is probably the case here - somehow I did not notice it!
Well, don't feel bad, it took me a long while to notice that your docker image was using Selenium Grid! And then to remember that is currently an issue.
Version
[etaoin "1.0.39"]
Platform
Operating System: Ubuntu 18.04.6 LTS
Clojure version: org.clojure/clojure "1.9.0"
JDK vendor and version: OpenJDK Runtime Environment (build 1.8.0_352-8u352-ga-1~18.04-b08)
Browser vendor: chrome
WebDriver version: https://github.com/SeleniumHQ/docker-selenium / selenium/standalone-chrome:4.8.0-20230131
Local version: Version 109.0.5414.74 (Official Build) Built on Ubuntu , running on Ubuntu 18.04 (64-bit)
Symptom
using either
wait-visible
orfill
functions while connected to remote webdriver returns following stack trace:Reproduction
run (to spawn a remote webdriver):
docker run -d -p 4444:4444 -p 7900:7900 --shm-size="2g" selenium/standalone-chrome:4.8.0-20230131
then using REPL - show that when connected to remote this function doesn't work, while they do when running with direct webdriver:
Following were used desp for above REPL:
Expected behavior
To work the same as in case of direct webdriver
Diagnosis
No clue :).
Action
Waiting for contributors investigation and hopefully a fix.
Other
This issue was found during investigating following: #519
The text was updated successfully, but these errors were encountered: