We are trying to move from Travis to Jenkins and shift testing from Firefox to Chrome headless testing, I am using Jenkins Pipelines with Parallel stages, where each stage runs on it's own docker image based out of this https://hub.docker.com/r/puneet0191/docker-systemtests-1/
I have been able to test chrome headless (version 62), chrome driver version 2.34, selenium version 3.8.1 on my local for headless testing and following the instructions given on http://phptest.club/t/how-to-run-headless-chrome-in-codeception/1544 and fortunately it seems to work just fine on my local.
I have the same configuration on my Jenkins build, using the docker image I provided above, when I try to run the tests, I get this error after running the first acceptance tests
1) I have tried running the tests headless mode, without Xvfb and with Xvfb..I get the same error.
2) I have made sure Chromedriver is set on path, and
Chromedriver --version returns the expected output
Anyone here who has experience on this, if they could help me..It would be really appreciated!