Class LightHouseGenerateReport
java.lang.Object
com.shaft.performance.internal.LightHouseGenerateReport
Generates Google Lighthouse performance reports for web pages by
invoking the Lighthouse CLI tool via Node.js.
Reports are saved to the project's performance report directory and can be attached to Allure reports for CI/CD integration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoid
-
Constructor Details
-
LightHouseGenerateReport
public LightHouseGenerateReport(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
generateLightHouseReport
public void generateLightHouseReport() -
createLighthouseReportFolderInProjectDirectory
public void createLighthouseReportFolderInProjectDirectory() -
openLighthouseReportWhileExecution
public void openLighthouseReportWhileExecution() -
writeReportPathToFilesInProjectDirectory
-
writeNodeScriptFileInProjectDirectory
public void writeNodeScriptFileInProjectDirectory() -
getPageName
-