OCR Testing Service
@wdio/ocr-service is a 3rd party package, for more information please see GitHub | npm
For documentation on visual testing with WebdriverIO, please refer to the docs. This project contains all relevant modules for running visual tests with WebdriverIO. Within the ./packages directory you will find:
@wdio/visual-service: the WebdriverIO service for integrating visual testing@wdio/image-comparison-core: the core image comparison engine used by the service@wdio/ocr-service: the WebdriverIO service for OCR-based testing@wdio/visual-reporter: the HTML report generator for visual testing results
Versions & Support
| Version | npm tag | Status | Supported until |
|---|---|---|---|
v10 — @wdio/visual-service@10 / @wdio/image-comparison-core@2 | latest | ✅ Active development | — |
v9 — @wdio/visual-service@9 / @wdio/image-comparison-core@1 | legacy | 🛠️ Maintenance (critical fixes only) | 12 months after the v10 release |
[!IMPORTANT] v10 replaces the image comparison engine (resemble.js → pixelmatch). The public API is unchanged, but mismatch percentages differ slightly, so you need to re-accept your baselines once after upgrading.