You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
Screenshots are getting attached to the Extent Report but when i click them in the html , they are not getting displayed . Can someone help me out with this issue .
The text was updated successfully, but these errors were encountered:
OutputType.BASE64 screenshots are not opening in Extent Report html
I am using the following code to take the Base64 screenshots and attach to ExtentTest (Version 3.1.5)
ExtentTest childTest;
childTest.addScreenCaptureFromPath(base64conversion(driver));
public String base64conversion(WebDriver driver) throws Exception {
TakesScreenshot newScreen = (TakesScreenshot) driver;
String scnShot = newScreen.getScreenshotAs(OutputType.BASE64);
return "data:image/jpg;base64, " + scnShot ;
Screenshots are getting attached to the Extent Report but when i click them in the html , they are not getting displayed . Can someone help me out with this issue .
The text was updated successfully, but these errors were encountered: