There is an excellent library called nightmare (based on electron). If you need print-screens you can use xvfb
or wait for this issue: https://github.com/segmentio/nightmare/issues/224
or wait for this issue: https://github.com/segmentio/nightmare/issues/224