A package for Automation that compare two images and return if there is a difference between them
Project description
Python Eyes
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
- Install from PyPi, as 'python_eyes'.
pip install python_eyes
Development
- Docstring style: Google Style
- Refer link
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.3.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file python_eyes-0.0.3.tar.gz
.
File metadata
- Download URL: python_eyes-0.0.3.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 265442da22d1ee4609fd7630d8674627c02b791d163e6fc817507557adfae8ac |
|
MD5 | 25d2379e3333ec5fef39eb0327a423ee |
|
BLAKE2b-256 | 2f293b2f6f0da9b17e4f7a5ae6192972c4789d944d3b2d810ba9ca7bdfc9e558 |
File details
Details for the file python_eyes-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: python_eyes-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 391c8905ff71a3704cdfbdcddfd7dd1ff69991c2eea47af1af73424e9333c862 |
|
MD5 | 95dce9a2d9db6e8e3be9c15e38469cdc |
|
BLAKE2b-256 | fa6b929075313485c7822eda48dbf3b1b4aa5972bb1bb4437d695b9928afc7a8 |