13

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

appsthatmatter
  • 6,347
  • 3
  • 36
  • 40
  • Have you tried *any* GL apps on this headless machine? Windows used to have software-driven OpenGL in it, but that was back in the days of XP. – bjorke Dec 07 '12 at 17:16

1 Answers1

3

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

gman
  • 100,619
  • 31
  • 269
  • 393