https://github.com/earelin/jwraith
A Java clone of the Wraith website comparison tool.
https://github.com/earelin/jwraith
crawler screenshots screenshots-comparison selenium webtest
Last synced: 11 months ago
JSON representation
A Java clone of the Wraith website comparison tool.
- Host: GitHub
- URL: https://github.com/earelin/jwraith
- Owner: earelin
- License: gpl-3.0
- Created: 2017-05-17T16:32:27.000Z (almost 9 years ago)
- Default Branch: 1.x.x
- Last Pushed: 2018-11-11T11:14:39.000Z (over 7 years ago)
- Last Synced: 2025-02-12T07:55:01.760Z (about 1 year ago)
- Topics: crawler, screenshots, screenshots-comparison, selenium, webtest
- Language: Java
- Homepage:
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JWraith
[](https://travis-ci.org/earelin/JWraith)
[](https://codecov.io/gh/earelin/JWraith)
A Java clone of the Wraith website comparison tool.
## Usage
```
jwraith [browsers|capture|history|latest|spider] [configuration file path]
```
Modes of operation:
browsers: Compares a website among different browsers
capture: Compares between two websites
history: Creates a history capture to be compared later
latest: Compares current website with the last history capture
spider: Crawls website to get all paths
### Use cases
#### Compare stating and production websites
Configuration file
```yaml
browser_name: "phantomjs"
driver_executable: "/usr/local/bin/phantomjs"
directory: "shots"
domains:
base: "http://example.com"
compare: "http://staging.example.com"
paths_file: "paths.txt"
workers: 4
screen_widths:
- 320
- 1280
spider_skips:
- "^/ajax/.*"
- "^/calendar/ical/.*"
reports:
threshold: 15
thumbnail_width: 300
thumbnail_height: 300
```
First we must capture all website paths:
```
jwraith spider configuration.yml
```
Once we have the links we can launch the compare process
```
jwraith capture configuration.yml
```