Name: wraith
Owner: HubSpot
Description: Wraith ? A responsive screenshot comparison tool
Created: 2015-11-19 17:12:25.0
Updated: 2015-11-19 17:12:26.0
Pushed: 2015-11-13 11:40:00.0
Homepage: http://bbc-news.github.io/wraith/
Size: 124534
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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.
Wraith also requires at least one of these headless browsers:
If you want to add functionality to this project, pull requests are welcome.
bundle exec rspec
).Please raise any issues with this project as a GitHub issue.
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 (by Andrew Tekle-Cadman of Future Visible), which was forked from BBC's Wraith on 16/04/14 and adds the following capabilities: