Dotcom-Monitor makes it easy to run Lighthouse audits for web applications that require login or navigation to specific pages. Using the EveryStep Scripting Tool, it automates the login process in a real browser and then launches Lighthouse Audit. Lighthouse Audit tracks key webpage metrics, and gets instant alerts if scores drop below defined thresholds.
Reports are integrated into your Dotcom-Monitor account and can be reviewed anytime, with optional email summaries for deeper performance insights.
How to Configure Lighthouse Audit in EveryStep Scripting Tool
To set up Lighthouse audit for a login-protected web page, follow our step-by-step guide:
- Add a new Multi Step Journey monitoring device for the target website.
- In the EveryStep Recorder, record login to the target website and navigation to the web page you want to audit with Lighthouse.
- Stop recording, play the recorded script, and review any errors that occurred.
- In the EveryStep Recorder window, go to the Recorded Script editor, the Script Code tab.
- Right-click any line under the Step that represents navigation to the web page you want to audit. Select Lighthouse Report.
- In the editing pan, select the metric to monitor its changes and define error thresholds to generate alerts if the metric falls outside the acceptable range.
- Optional 1: To collect, process, and aggregate measured Lighthouse score as a custom metric, ensure that you enable the Custom Metric option in the Lighthouse Report settings. Please visit the Custom Metrics in Web App Performance Testing article of our wiki to find more details on the custom metric analysis.
- Once configured, save the audit settings and save the script.
Reviewing Lighthouse Report
Lighthouse Report is available for review in the device Online Report, on a session Waterfall Chart.