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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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-gputo chrome headless, it tries to use GPU hardware acceleration and ends up crashing.