Closed thiensubs closed 2 years ago
As far as I know, jasmine-browser-runner is compatible with selenium-webdriver 4.3. It works on my machine. Additionally, we run nightly tests of both jasmine-browser-runner itself and jasmine-core using jasmine-browser-runner. Those tests use the latest selenium-webdriver 4.x because they don't pin dependency versions, and I didn't notice any failures when 4.3 was the latest version.
It could be that there's either something about your computer or something about your project that's relevant to the problem.
Some things you might check:
npm install
and npm test
inside it, do the tests pass?I also just noticed that the error message you reported is "the runner can not connect to jasmine-server". That message doesn't come from jasmine-browser-runner.
Closing due to inactivity. Feel free to open a new issue with a link to a repo containing a minimal, complete, working example of the problem if you still want help.
Hi Team, I saw the jasmine-browser-runner with package.json lock the
selenium-webdriver
at^4.1.0
. In my project I try to install and use the selenium-webdriver from 4.3+, I got the problem the runner can not connect to jasmine-server and got a Timeout error message.A summary of some investigations into the issue is provided below.
For Selenium-webdriver: v4.2 will connect to the node server through
127.0.0.1
with Port v4.3 will connect to the node server through the loopback addresslocalhost
with Port, somehow the node request can not connect to the loopback address, it will wait until timeout. And that is why we got the Timeout error message.After trying deeper code changes of v4.2 and v4.3, I saw the code change like the picture below
Any suggestions on how to solve these issues would be greatly appreciated.
Regards,