Now Htmlreporter is deprecating. So need other than Htmlreporter solution. Please give me the proper and new solution.Am expecting with the spark report.
The usage remains same, albeit with the new default reporter.
ExtentSparkReporter spark = new ExtentSparkReporter(new File(""));
extent.attachReporter(spark);