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

glge, jenkins, phantomjs, unit-testing, webgl

Solution

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

Problem

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

Original source