Wraith — 一款响应式屏幕截图比较工具
[!IMPORTANT]
This repository is no longer maintained. It remains available for reference, but issues and pull requests are not monitored.
Wraith is a screenshot comparison tool, created by developers at BBC News.
Documentation • Source • Responsive News Website
Wraith uses a headless browser to create screenshots of webpages on different environments (or at different moments in time) and then creates a diff of the two images; the affected areas are highlighted in blue.
For instructions on how to install, set up and use Wraith and all of its features, visit the Wraith documentation.
A brief overview of how Wraith works is provided below.
There are several ways in which Wraith can be used:
wraith capture). There are also some specialist options within this mode:wraith capture when no paths property is provided in the configuration file)wraith multi_capture)wraith history, then wraith latest)Whichever mode you decide to run Wraith in, the process it follows is generally the same:
ImageMagick is required to compare the screenshots and crop images.
Wraith also requires at least one of these headless browsers:
Please read how to contribute to Wraith.
Wraith is available to everyone under the terms of the Apache 2.0 open source license. Take a look at Wraith's LICENSE file.
Anyone interested in integrating selenium capability with Wraith should check out Selenium-Wraith (maintained by Mathew Hall), which was forked from BBC's Wraith on 16/04/14 and adds the following capabilities:
暂无开放 Issues,或尚未同步最近议题。