{"id":15145225,"url":"https://github.com/ameyanatu/compare-screenshots","last_synced_at":"2025-07-30T11:33:40.480Z","repository":{"id":40984967,"uuid":"158265932","full_name":"ameyanatu/compare-screenshots","owner":"ameyanatu","description":"Compare screenshots and save difference screenshots","archived":false,"fork":false,"pushed_at":"2022-12-08T02:59:42.000Z","size":3071,"stargazers_count":6,"open_issues_count":9,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T20:36:01.632Z","etag":null,"topics":["robot-framework","robotframework"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ameyanatu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-19T17:36:10.000Z","updated_at":"2022-04-19T20:02:02.000Z","dependencies_parsed_at":"2023-01-24T16:31:25.532Z","dependency_job_id":null,"html_url":"https://github.com/ameyanatu/compare-screenshots","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ameyanatu/compare-screenshots","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameyanatu%2Fcompare-screenshots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameyanatu%2Fcompare-screenshots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameyanatu%2Fcompare-screenshots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameyanatu%2Fcompare-screenshots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ameyanatu","download_url":"https://codeload.github.com/ameyanatu/compare-screenshots/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ameyanatu%2Fcompare-screenshots/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267858704,"owners_count":24155941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["robot-framework","robotframework"],"created_at":"2024-09-26T11:21:35.376Z","updated_at":"2025-07-30T11:33:40.441Z","avatar_url":"https://github.com/ameyanatu.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# compare-screenshots\n\n[![HitCount](http://hits.dwyl.io/ameyanatu/compare-screenshots.svg)](http://hits.dwyl.io/ameyanatu/compare-screenshots)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/ameyanatu/compare-screenshots/blob/master/compare-screenshots.py/graphs/commit-activity)\n[![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](https://github.com/ellerbrock/open-source-badges/)\n[![GPLv3 license](https://img.shields.io/badge/License-GPLv3-blue.svg)](http://perso.crans.org/besson/LICENSE.html)\n----------------------------------------------------------------------------------------------------------------------------------------\n[![forthebadge made-with-python](http://ForTheBadge.com/images/badges/made-with-python.svg)](https://www.python.org/)\n----------------------------------------------------------------------------------------------------------------------------------------\n\n#### This is a Robot Framework library. Using this library we can do screenshots comparison which is an essential part of visual testing using Robot Framework.\n\n| Keyword      | Description                    |\n| ------------- | ------------------------------ |\n| `compare screenshots`| This is the main keyword which actually does a comparison, this keyword takes three arguments path_to_baseline_screenshots, path_to_compare_screenshots and path_to_save_differencefound_screenshots|\n| `create report`| This keyword creates a text file report of the comparison, like how many screenshots have differences, this keyword takes three arguments path_to_baseline_screenshots, path_to_compare_screenshots, and path_to_save_differencefound_screenshots|\n| `move all difference found screenshots`| This keyword will move all the difference found screenshots from path_to_compare_screenshots To path_to_baseline_screenshots\n\n#### How to use this library:\n\n1. Download 'compare-screenshots.py' from this repository.\n2. Download 'Requirements.txt' and install all the necessary packages before using this library.\n3. Copy 'compare-screenshots.py' file to your Robot Framework project.\n4. Then simply use it in your Robot file and use keywords in your test cases or tasks. \n\n##### (Note: This library tested on windows platform, however, I am sure it will work on the Linux platform as well. If you found any issue then please let me know.)\n\n#### For more information regarding this library please read my article on LinkedIn: \nhttps://www.linkedin.com/pulse/compare-screenshots-ameya-natu/\n\n#### Credits:\n\n1. RobotFramework (http://robotframework.org/)\n2. OpenCV (https://opencv.org/)\n\n\n##### If you have any questions / suggestions / comments on the library, please feel free to reach me on ameyanatu@yahoo.com\n\n\n[![saythanks](https://img.shields.io/badge/say-thanks-ff69b4.svg)](https://saythanks.io/to/ameyanatu)\n[![ForTheBadge built-with-love](http://ForTheBadge.com/images/badges/built-with-love.svg)](https://GitHub.com/ameyanatu/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameyanatu%2Fcompare-screenshots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fameyanatu%2Fcompare-screenshots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fameyanatu%2Fcompare-screenshots/lists"}