Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
protractor-image-comparison
Advanced tools
##What can it do? protractor-image-comparison is a lightweight protractor plugin for browsers / mobile browsers / hybrid apps to do image comparison on screens or elements.
You can:
Comparison is based on ResembleJS.
##Installation Install this module locally with the following command:
npm install protractor-image-comparison
Save to dependencies or dev-dependencies:
npm install --save protractor-image-comparison
npm install --save-dev protractor-image-comparison
##Usage protractor-image-comparison can be used for:
For more information about mobile testing see the Appium documentation.
protractor-image-comparison provides:
checkScreen
and checkElement
.saveScreen
and saveElement
for saving images.The comparison methods return a result in percentages like 0
or 3.94
.
protractor-image-comparison can work with Jasmine and Cucumber.js. See Examples for or a protractor-config setup, or a Jasmine or a CucumberJS implementation.
More information about the methods can be found here.
See conventions.md.
See CONTRIBUTING.md.
index.js
based on PixDiff./lib/resemble.js
node-resemble + ResembleJSdebug
methodclean
method to clean the given screenshotPath
before runningFAQs
npm-module to compare images with protractor
The npm package protractor-image-comparison receives a total of 4,959 weekly downloads. As such, protractor-image-comparison popularity was classified as popular.
We found that protractor-image-comparison demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.