I have a Testcafe script (script.js). I want to run this on a Chrome browser, but in the headless mode. So, I use the following command.
script.js
testcafe chr