Screenshot is not visible in extent report verrion 3

  • capture screenshot by using base64, although it attaches screenshot successfully but while zooming , it doesn’t show. refer screenshot
  • Code:
    public static String captureScreenAsBase64(WebDriver driver, String screenshotName) throws IOException
    {
    TakesScreenshot newScreen = (TakesScreenshot) driver;
    String scnShot = newScreen.getScreenshotAs(OutputType.BASE64);
    return "data:image/jpg;base64, " + scnShot ;
    }

Can you please mention the version of your extent report being used ?