How To Include Lighthouse Performance Metrics In Selenium Automation?
Hi Macy,
You can easily add the lighthouse performance metrics of the website you want to test, using the Desired Capabilities. Use the Performance feature of the Desired Capabilities Generator in order to do so. The sample code snippet is below:
DesiredCapabilities caps = new DesiredCapabilities();
// To view performance metrics
caps.setCapability("performance", true);