Version- 5.0.7
Code Snippet-
String base64Screenshot = "data:image/jpg;base64,+ ((TakesScreenshot) driver).getScreenshotAs(OutputType.BASE64);
ExtentTestManager.getTest().fail(MediaEntityBuilder.createScreenCaptureFromBase64String(base64Screenshot).build());
Problem- Image 'base64 img' not displaying as thumbnail. Image opens well when I click it but I want the image to be displayed as thumbnail. Is there any solution that you can suggest to archive this?
Screenshot-

Version- 5.0.7

Code Snippet-
String base64Screenshot = "data:image/jpg;base64,+ ((TakesScreenshot) driver).getScreenshotAs(OutputType.BASE64);
ExtentTestManager.getTest().fail(MediaEntityBuilder.createScreenCaptureFromBase64String(base64Screenshot).build());
Problem- Image 'base64 img' not displaying as thumbnail. Image opens well when I click it but I want the image to be displayed as thumbnail. Is there any solution that you can suggest to archive this?
Screenshot-