Specify Chrome as browser for running tests in

420 Views Asked by At

Trying to configure backstopjs to test page in Google Chrome instead of phantomjs as phantom doesn't render the page correctly.

Tried to replace

"engine": "phantomjs",

by

"engine": "chrome",

but it didn't help.

What should I install and how should I update config to make it working?

2

There are 2 best solutions below

0
Qwertiy On BEST ANSWER

BackstopJS version 3 supports

Render with Chrome Headless, Phantom and Slimer

So from now

"engine": "chrome",

will work if you have Chrome 61+ installed (or 59+ for Mac and Linux).

0
Nima Soroush On

Try using differencify which been built on top of Chrome headless