Skip to content
forked from dscheg/webdiff

.NET screenshot diff tool for comparing two sites

License

Notifications You must be signed in to change notification settings

shcoder/webdiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDiff

WebDiff is a configurable .NET command-line tool for comparing two sites by list of URLs.

Features

  • Firefox, Chrome support
  • Full page screenshots (vertical scrolling)
  • Window sizes, Chrome mobile emulation
  • Dynamic content waiting
  • Injecting CSS/JS [WebExtension]
  • Modifying HTTP-headers [WebExtension]
  • Cookies
  • HTML report with diff results

png

Build

Requirements:

  • Visual Studio 2017
  • PowerShell v5+
git clone https://github.com/dscheg/webdiff
cd webdiff
build.bat

Usage

Usage: webdiff [OPTIONS] URL1 URL2 [FILE]
Options:
  -o, --output=VALUE         Reports output directory
                               (default: '.')
  -p, --profile=VALUE        Profile TOML file with current settings
                               (default: 'profile.toml')
  -t, --template=VALUE       HTML report template file
                               (default: 'template.html')
  -h, --help                 Show this message

Examples:
  webdiff http://prod.example.com http://test.example.com < URLs.txt
  webdiff -p profile.toml -t template.html -o data http://prod.example.com http://test.example.com URLs.txt

Config

  • profile.toml
  • cookies.txt
  • ext/inject.{js|css}

About

.NET screenshot diff tool for comparing two sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 84.8%
  • HTML 11.1%
  • Batchfile 2.6%
  • JavaScript 1.4%
  • CSS 0.1%