Qwertiy
Qwertiy

Reputation: 21400

Specify Chrome as browser for running tests in

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?

Upvotes: 1

Views: 461

Answers (2)

Qwertiy
Qwertiy

Reputation: 21400

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).

Upvotes: 0

Nima Soroush
Nima Soroush

Reputation: 12814

Try using differencify which been built on top of Chrome headless

Upvotes: 1

Related Questions