bug
When I run testcafe chrome .\testcafe\sample.spec.ts or testcafe chromium .\testcafe\sample.spec.ts on my Windows laptop, the browser will open but the page remains blank and I get a sad face icon in the browser tab...

However if I try with Edge, it works fine.
Chrome and Chromium should load TestCaf茅 and run the test.
Just run testcafe chrome .\testcafe\sample.spec.ts
Test code
import { Selector } from 'testcafe';
fixture('Trying this out').page('https://google.com');
test('Log in to app', async t => {
});
Works for me on Windows 10 with node 8.11.2 and testcafe 0.20.5
Hi @Ventajou, could you please specify Node.js & Chrome versions, Windows 10 edition & build number.
@AndreyBelym I've updated the version numbers above. I tried the same code on my other computer and it worked fine there. The Node version is different so I'm going to try and upgrade here just in case.
Here's an update after digging up some more, I ran across https://github.com/GoogleChrome/chrome-launcher/issues/11 which talks about running as admin. I typically use an admin prompt and when I tried as a regular user the test ran correctly.
Hi @Ventajou, thank you for investigation. Have you tried to specify the --no-sandbox flag, e.g.
testcafe "chrome --no-sandbox" test.js
This comment says that it can help.
Unfortunately I can't reproduce the issue on my machine, However I've seen such problems on our old build server, which used CruiseControl.NET to run builds.
I will close the issue because no activity has been encountered for a long time.
Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.
Most helpful comment
Hi @Ventajou, thank you for investigation. Have you tried to specify the
--no-sandboxflag, e.g.This comment says that it can help.
Unfortunately I can't reproduce the issue on my machine, However I've seen such problems on our old build server, which used CruiseControl.NET to run builds.