TestCafe: Chromium: Error: Unable to establish one or more of the specified browser connections
I was able to get to work by changing:chromium:headless
to 'chromium --headless --no-sandbox'
It is still weird to me how it worked one day and within 24 with the same source code, docker image, it broke! Still curious to see what the TestCafe team will find, they are tracking the issue here:https://github.com/DevExpress/testcafe/issues/4489#issuecomment-555061246
why ----no-sandbox
? Had similar issues this week with Bitbucket Pipelines where I forgot to add --no-sandbox
, but adding as written seemed to fix the issue...
Also, adding a .testcafe.json
file to specify your options makes writing the options a lot easier...