Testing 在linux容器上通过Chromium运行TestCafe

Testing 在linux容器上通过Chromium运行TestCafe,testing,automation,automated-tests,e2e-testing,testcafe,Testing,Automation,Automated Tests,E2e Testing,Testcafe,在我的节点项目中,我使用TestCaferunner来截图。 我用的是铬合金无头的,而且它在本地非常合适。 当我尝试在linux容器中使用它时,在openshift上,我得到: Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure. 我使用节点映像,我尝试在我的项目中设置chrome的本

在我的
节点
项目中,我使用
TestCafe
runner来截图。 我用的是铬合金无头的,而且它在本地非常合适。 当我尝试在linux容器中使用它时,在
openshift
上,我得到:

Unable to establish one or more of the specified browser connections. This can be caused by network issues or remote device failure.
我使用节点映像,我尝试在我的项目中设置chrome的本地安装,但它也不起作用。如何使TestCafe识别任何chromium浏览器(不使用
TestCafe浏览器提供程序
)?

请查看Docker指南中的部分,并尝试此处建议的解决方法(指定
--无沙盒
--禁用开发shm使用
标志)。如果没有帮助,请澄清是否使用headless Firefox复制了该问题?请检查Docker指南中的部分,并尝试那里建议的解决方法(指定
--无沙箱
--禁用开发shm用法
标志)。如果没有帮助,请澄清是否使用headless Firefox复制了该问题?