From the course: Scripting for Testers

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Challenge: Cross browser data validation

Challenge: Cross browser data validation - Python Tutorial

From the course: Scripting for Testers

Challenge: Cross browser data validation

(snappy music) - [Instructor] I've got one last challenge for you before we close this course. We've been learning a lot about working with images in Python and now it's time for you to try it out on your own. You've seen how to Diff and compare images from different devices and for this challenge I want you to try out something similar to this on your own. However, instead of comparing images across different emulated devices I want you to compare them across different browsers on the same device. So try comparing Chromium, Firefox and WebKit renderings of the same page. To help you out you can find a starting script in the course files that contains some of the set up and comparison code that we wrote in some of the earlier videos. See if you can see that this contains the compare images function that will compare the two images. It also contains some initial set up for Playwright and you can see here that it's currently set up to use Chromium. So your job is going to be to also…

Contents