Give some of the scenarios to capture a screenshot using Selenium WebDriver.

938    Asked by PRATEEKArora in QA Testing , Asked on Dec 27, 2019
Answered by PRATEEK Arora

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.



Your Answer

Interviews

Parent Categories