How To Take Screenshot In Selenium Webdriver
How to Take Screenshot in Selenium Step 1) Convert web driver object to TakeScreenshot Step 2) Call getScreenshotAs method to create image file Step 3) Copy file to Desired Location Example: In this example we will take screen capture of http://demo.guru99.com/V4/ & save it as C:/Test.png Here is the screenshot code in selenium: What is Ashot API? Ashot is a third party utility by Yandex supported by Selenium WebDriver to capture the Screenshots....