Code to take Screen Shots in Selenium WebDriver?
https://guidetoselenium.blogspot.in/2017/08/code-to-take-screen-shots-in-selenium.html
In this post, I will tell you that how would you capture the failure screenshots in Selenium WebDriver. A screenshot is the best way in order to tell the reason of automation script failure. By which a tester get the reason that on which page script gets failed and what was the reason. I am sharing the code of this with you.
Visit link for code









