I have a problem to run codeception on centos7 server in headless mode with chromedriver.On mac evrything is fine. I log in via ssh, run chromedriver --verbose --url-base=/wd/hub, then I run php bin/codecept run acceptance -vvv.
But then I'm getting this error
[Facebook\WebDriver\Exception\NoSuchElementException] no such element: Unable to locate element: {"method":"xpath","selector":"//li/a[contains(.,"Sign in")]"}
(Session info: headless chrome=66.0.3359.139)
(Driver info: chromedriver=2.40.565383 (76257d1ab79276b2d53ee976b2c3e3b9f335cde7),platform=Linux 4.4.127-mainline-rev1 x86_64)
I dont know how to fix it. Can somebody help me