8 - Screenshots

Previous Lesson:

7 - Waits

Browser UI automation is great for checking functionality of a web site, but it isn’t to great when it comes to checking visuals, however there is something we can do within WebDriver. In this video we will write some code that instructs WebDriver to take a screenshot of a page and save it. Great for checking how a page looks, but also great if a check was to fail, as we can see what state the execution was in.