Python package for Automation to compare expected UI on page or Mobile app screen with actual screen.
Since v0.0.1 only Python 3 is supported
- Install from PyPi, as 'python_eyes'.
pip install python_eyes
- Docstring style: Google Style
- Refer link
pipenv run pytest
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)