To take screenshot of failed test case in Selenium Webdriver

Program:

For Screenshot:

 

Leave a Reply

Your email address will not be published. Required fields are marked *