Open michaelzangl opened 4 years ago
Could this be an issue with the docker image instead? Have you tried the debugging instructions at https://github.com/SeleniumHQ/docker-selenium#troubleshooting ?
Hi. I suspect this is a problem with the JS library wd and how wd attempts to access the selenium hub instance. We have no problems accessing that container the normal selenium Java library. The first issue is that sessionId is null =>
I currently found no way to inspect the HTTP traffic wd sends to the selenium endpoint.
If I interpret it correclty, the issue might be around that line in wd:
jsonData.value ? jsonData.value.sessionId : false;
According to the specs, there should be no .value and no .status, so it falls back to the old method.
The error message is confusing, the error handling in karma-webdriver-launcher
is just missing.
I get this error in selenoid when the appropriate selenoid image (selenoid/vnc_chrome:xxx) is not pulled manually in docker.
When using this driver to connect to selenium/standalone-chrome:3.9 or newer, one gets a confusing error message:
Tried to use several configs, the session id is always undefined. Might be a bug somewhere in the wd dependency.
Workaround: Use the selenium/standalone-chrome:3.8 docker image.