Image Comparison in Selenium WebDriver

Опубликовано: 17 Декабрь 2018
на канале: Artur Spirin
7,678
54

This video will explain how to compare images on any web page with Python WebDriver.

For image comparison we will be using content hashing and comparing the hash of one image to the hash of another image to determine if they are the same.

This method of image comparison is very binary, meaning that even if one image is different by a single pixel from the other, we will know that they do not match.

This method will work for image comparison with Python 2 and Python 3.

Code is available on GitHub: https://github.com/ArturSpirin/YouTub...

This page was used for demo: https://github.com/ArturSpirin/test_j...

This video is part of the Python WebDriver video series.
It is the most complete and most advanced collection of Python WebDriver Tutorials on the internet.
Every video in this course goes in-depth with examples of best practices and explanations of why its a best practice.
You will not find better Python Selenium WebDriver tutorials anywhere else, paid or not.
In fact I have never seen any tutorial online that show how to create wrappers for WebDriver,
which are fundamental when building frameworks and I have yet to see a proper video that shows how to create Page Objects.
This series covers basic areas for WebDriver with advanced examples of how to build and support each component in a
reusable and scalable manner for selectors, dropdowns, checkboxes, radio buttons etc.
This Python tutorial series on WebDriver also covers more advanced areas like:
How to create wrappers for Browser: https://goo.gl/kTkrX2
How to create wrappers for WebElement selectors: https://goo.gl/VTQLnx
How to use WebDriver to work with iFrames: https://goo.gl/A7z5Yo
How to use WebDriver to manipulate Cookies in every way possible: https://goo.gl/gDQ8ki
How to use WebDriver to Download Files: https://goo.gl/GrBCct
How to work with Dynamic HTML Tables: https://goo.gl/YygPx9
How to use WebDriver to Upload Files: https://goo.gl/XCca7e
Many ways to deal with System Dialogs when using WebDriver with Python: https://goo.gl/ZRTMy7
All of the ways for doing drag and drop: https://goo.gl/kQG6ap
How to download and compare images on Python 2 and Python 3: https://goo.gl/XEEA64
etc

If you like my channel, make sure to support it:
via PayPal donations: https://goo.gl/jYc1Mu
or become my Patron and back me on Patreon: https://goo.gl/Wsf1jZ


Смотрите видео Image Comparison in Selenium WebDriver онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Artur Spirin 17 Декабрь 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,678 раз и оно понравилось 54 людям.