String recordingResult = ((CanRecordScreen) driver).stopRecordingScreen();
// after this
byte[] decoded = Base64.getDecoder().decode(recordingResult);
// finally do save into needed file
FileUtils.writeByteArrayToFile(new File(getVideoFileLocation()), decoded);
This method is deprecated but I got nonsense of my question just now
I am adding that base64 in Extent Report but its not opening there.
Do you have a solution as to what can i do with the video in terms of uploading it?