node-phantom-simple
node-phantom-simple copied to clipboard
running headless with xvfb does not work
I am trying to run slimerjs with xvfb. the readme says to add this to the .travis.yml
before_script:
- export DISPLAY=:99.0
- "sh -e /etc/init.d/xvfb start"
I'm on centos hence, xvfb is at /usr/bin/Xvfb, replaced that path, but it does not work. I also tried to use /usr/bin/xvfb-run that I use to launch slimerjs from commandline, that works when I run from commandline but not through this module.
Any ideas on this?
I even tried to run it as a service through systemctl, still the same.
Try this: https://gist.github.com/jdneo/c3450bc83ba2f0b1597cffd49f69986b