Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99418

Selenium side runner + chromedriver tests with docker not running

$
0
0

I am trying to get selenium side runner to run some tests using docker, to include in our CI.

I am able to run the tests locally in my machine by running:

selenium-side-runner C:\path-to-tests\tests-selenium.side

This is windows host.

I am trying to do the same using docker locally, so afterwards I will migrate this to our Teamcity.

First I am running the selenium server container:

docker run -d -p 4444:4444 --name chromedriver selenium/standalone-chrome:3.4.0

Afterwards I run the selenium side runner container:

docker run -v C:\path-to-tests:/sides --link chromedriver:chromedriver nixel2007/docker-selenium-side-runner

I have to link the containers otherwise I get an error saying that the container can't connect to chromedriver:4444

I also have to mount the volume where my tests are.

When I do this and run, I get the following error:

Test suite failed to run

WebDriverError: Unable to parse new session response

What am I missing here?


Viewing all articles
Browse latest Browse all 99418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>