I know this is a different test framework but I was able to get Chrome (and Chromium, which works better) working in the WSL for Cypress tests using info from this issue on GH
Maybe it'll be of help to you.
I use X410 as my display server, but Xming works just as well.
Sounds interesting, I think that might be what I have to try out too since even though I pass --disable-gpu to chrome headless, it tries to use GPU hardware acceleration and ends up crashing.
re: Web Development with Windows Subsystem for Linux VIEW POST
TOP OF THREAD FULL DISCUSSIONI know this is a different test framework but I was able to get Chrome (and Chromium, which works better) working in the WSL for Cypress tests using info from this issue on GH
Maybe it'll be of help to you.
I use X410 as my display server, but Xming works just as well.
Sounds interesting, I think that might be what I have to try out too since even though I pass
--disable-gpu
to chrome headless, it tries to use GPU hardware acceleration and ends up crashing.