Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to run unit test for a WebGL webapp in a headless browser

Is there a way to run unit test for a WebGL (GLGE) webapp in a headless browser?

I'd like to run the tests on a jenkins server, so the tests must run on a headless (phantom.js) brower.

Anybody already tried that?

Cheers

like image 944
appsthatmatter Avatar asked Dec 07 '12 12:12

appsthatmatter


Video Answer


1 Answers

As of 2020 using puppeteer is probably the easiest way to use a headless browser that supports WebGL.

You can also use Chromium in headless mode directly

like image 64
gman Avatar answered Nov 12 '22 20:11

gman