Search Interview Questions | Click here and help us by providing the answer. Click Correct / Improve and please let us know. |
|
|||
|
| ||||
| Selenium - Interview Questions and Answers for 'Pwc' - 1 question(s) found - Order By Newest | ||||
| ||||
| Ans. TakeScreenshot th = TakeScreenshot(driver); //Enable the driver object to take screenshot File src = th.getScreenShotAs(OutputType.FILE); FileUtils.copyFilesrc("locationWhereUWantToPlaceTheScreenshot.jpg"); | ||||