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?
尝试使用基于 Chrome 无头构建的差异化
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).
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.