8 - Screenshots
lesson_still
00:02:29
20th August 2015

Previous Lesson:

7 - Waits
00:06:31
Description:

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.