In my node project, I use TestCafe runner in order to taken screenshots. I use chromium headless, and it was perfectly in locally. When I try to use it
node
TestCafe