Skip to main content

A package for Automation that compare two images and return if there is a difference between them

Project description

Logo

Python Eyes

PyPI version MIT License

Python package for Automation to compare expected UI on page or Mobile app screen with actual screen.

Notice

Since v0.0.1 only Python 3 is supported

Getting the Python Eye

  1. Install from PyPi, as 'python_eyes'.
pip install python_eyes

Development

  • Docstring style: Google Style

Run tests

pipenv run pytest

Usage

from python_eyes import PythonEyes


eyes = PythonEyes(driver, "screenshots", "results")
eyes.verify_screen("login_page_no_text.png")
eyes.verify_screen("login_page_error.png", hard_assert=False, timeout=2)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_eyes-0.0.4.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page