Give some of the scenarios to capture a screenshot using Selenium WebDriver.
A portion of the situations to catch a screen capture utilizing Selenium WebDriver are
i. Application issues
ii. Assertion Failure
iii. Trouble to discover Web Elements on the site page
iv. Break to discover Web Elements on the site page
Selenium gives an interface called TakesScreenshot which has a strategy getScreenShotAs which can be utilized to take a screen capture of the application under test.