LambdaTest now integrates Lighthouse to view the performance metrics (Lighthouse Audits) on its online cloud based Selenium Grid. You can now view the scores of:
metrics with the help of LambdaTest. LambdaTest also allows you to perform cross-browser testing on 2000+ combinations of real devices, browsers and operating systems.
Note: As of now, LambdaTest supports Lighthouse for all Windows OS, along with macOS BigSur, macOS Mojave, and macOS Catalina.
You will need a LambdaTest account to run your tests on its cloud based online Selenium Grid. Use your:
to run your tests on LambdaTest and view the Lighthouse performance metrics.
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 Capabily Generator in order to do so.
For example, if you are using TestNG for Selenium Automation on LambdaTest, you can include the lighthouse performance feature with the help of below code snippet:
DesiredCapabilities caps = new DesiredCapabilities();
// To view performance metrics
Below is a screenshot showing the code snippet to trigger the Lighthouse performance metrics on LambdaTest in MacOS Catalina with Google Chrome browser version 86.0.
Once you have run your selenium automation tests on LambdaTest platform, you can view the Lighthouse performance metrics on the website under test. Follow the below steps to view the Lighthouse performance metrics on LambdaTest platform:
Similarly, you can click on any performance metrics to view it in detail. Not only this, but LambdaTest also helps you view the Passed Audits, individual metrics, detailed diagnosis, and improvement opportunities about that particular Lighthouse Audit.
Thats it folks! That’s all about the Lighthouse Performance Metrics with LambdaTest. You can read more about the Lighthouse Audits and Performace Metrics from here. If you have any doubt or questions, feel free to contact our experts at 24/7 chat support or mail us at [email protected]. Happy testing! 🙂