Reputation: 956
I am trying to compile PhantomJS to add WebGL. Apparently it is possible because of:
However, I have no idea how to do this. I have looked in all the configuration for compiling and I tried and found nothing. Should I compile QTWebKit separately with the necessary options and then compile PhantomJS with this WebKit? I'm on Mac OSX Lion.
It would be really nice to have a bit of help.
Upvotes: 29
Views: 2332
Reputation: 755
As you well may know, Phantomjs has is no longer being actively developed.
I suggest you move to Puppeteer which uses Chromium: https://pptr.dev/
Upvotes: 1
Reputation: 2062
This was opened by ariya who also commented on the Google Groups thread as a GitHub issue.
According to this comment by a project collaborator on that issue:
That's not that easy. WebGL requires OpenGL. OpenGL requires XCB on Linux. That means that you will not be able to use PhantomJS in full headless environment. I doubt that this will be implemented in near future.
It seems to me like this is the final answer to the OP's question. The OP has not addressed whether SlimerJS would actually work in their situation.
Upvotes: 0