Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Interview Questions and Answers | ||||
| ||||
| Ans. TakeScreenshot th = TakeScreenshot(driver); //Enable the driver object to take screenshot File src = th.getScreenShotAs(OutputType.FILE); FileUtils.copyFilesrc("locationWhereUWantToPlaceTheScreenshot.jpg"); | ||||