How to open slimerjs without display?

182 Views Asked by At

My environment:

Ubuntu 16.04, slimerjs 1.0.0, firefox 58.0, root.

I'm trying to execute a js-scenario, but I got an error:

Error: no DISPLAY environment variable specified

Got the same error in phantomjs, and it was solved by:

export QT_QPA_PLATFORM=offscreen

But on slimerjs it had no effect.

0

There are 0 best solutions below