Comparador helps developers detect visual and functional differences between website environments (dev, stage, production) by comparing:
- 📸 Fullscreen screenshots with visual diff highlighting
- 📄 HTML source code with side-by-side comparison
- 📋 Response headers differences
Group your pages into projects and categories for easy management
Run batch captures with custom scripts and browser settings
Pixel-perfect diff with mismatch percentage and dimension tracking
Side-by-side code diff with syntax highlighting
Compare response headers and adjust comparison thresholds
Install directly from the Chrome Web Store.
- Download the
comparador-*.zipfile from Releases - Extract the ZIP file
- Open
chrome://extensions/ - Enable Developer mode (toggle in top-right)
- Click Load unpacked and select the extracted folder
- Multi-environment comparison — Compare dev, staging, and production side by side
- Full-page screenshots — Capture entire pages, not just the viewport
- Visual diff — Highlight pixel-level differences between screenshots
- HTML diff — Monaco-powered side-by-side code comparison
- Headers diff — Compare response headers between environments
- Batch capture — Capture multiple URLs in one session
- Project organization — Group URLs by project and category
- Scriptable capture — Run custom JavaScript before capturing
- Browser context — Set headers, cookies, user agent, and more
Comparador requires the following permissions to function:
| Permission | Purpose |
|---|---|
activeTab |
Access the currently active tab to capture its URL and content |
tabs |
Create and manage browser tabs for batch capture operations |
debugger |
Use Chrome DevTools Protocol to capture full-page screenshots and extract HTML |
webRequest |
Intercept HTTP response headers for comparison |
host_permissions |
Capture pages from any website you choose to compare |
Privacy: All data is stored locally in your browser. Nothing is sent to external servers. See PRIVACY_POLICY.md for details.
This repository includes a local HTTPS mock server for testing Comparador across multiple simulated environments.
cd mock
npm install
npm run setup # One-time: generate certs, add hosts, trust CA (requires sudo)
npm start # Start the serverOnce the mock server is running and Comparador is installed:
- Create a new project in Comparador (e.g., "Acme")
- Uncomment the environments and paths in the "Variables for Scripts" section
That's it! New projects come pre-configured to target the mock server environments. This also serves as a reference for how to properly configure Comparador for your real-world projects.
| Environment | URL |
|---|---|
| Development | https://dev.acme.local |
| Staging | https://stage.acme.local |
| Production | https://www.acme.local |
/— Home page/about— About page/products— Products page
Each environment has slightly different content to demonstrate Comparador's diff capabilities.
The setup script:
- Generates self-signed SSL certificates
- Adds entries to
/etc/hostsfor the local domains - Trusts the CA certificate in macOS Keychain (requires sudo)
Edit files in mock/config/ to customize:
environments.ts— Define environment domains and portsroutes.ts— Define available routes/pagesdata.ts— Environment-specific content
- Krystian Panek — Founder & Maintainer — krystian.panek@vml.com
- Tomasz Sobczyk — Consultancy — tomasz.sobczyk@vml.com
| Component | License |
|---|---|
| This repository (mock server, docs, examples) | MIT |
| Chrome Extension | Freeware |
See also: Privacy Policy · Third-Party Notices
Contributions welcome! The mock server and documentation are open source under MIT.











