Automated Lighthouse Testing
Nov 16, 2023
What is Lighthouse?
Lighthouse is an essential tool by Google to help engineers build high-quality web solutions.
Typically it is run via a Chrome extension to assess webpage performance, SEO, and accessibility. Lighthouse identifies areas for improvement, making it a valuable asset in improving the end user’s experience.
Is Lighthouse Automation Worth it?
Yes, Lighthouse automation is worth adding to any test automation pack.
The valuable reports on web performance, accessibility, SEO, and more will improve the quality of your service.
The trouble typically comes from the significant time investment to integrate Lighthouse into an existing code-based automation test pack.
Add Lighthouse to your automated tests in seconds!
Utilizing codeless test automation and the magic of “drag-and-drop“, you can add Lighthouse to an existing test OR build a new Lighthouse test in seconds!
Given the benefits of improving your website optimization, user experience and search engine rankings with the near-zero “time-cost“, we encourage all automation testers and SEO experts to use these tools.
How do I get started?
If you already have a DoesQA account, continue with the following steps.
Lighthouse Automation Step-by-Step Guide (~59s)
This will guide you through creating a new Flow to test a single page.
Create a new Flow
Name it. We’ll use “Lighthouse“ and click save
Drag in the “Open“ Node from the Node Library into the main panel
Double-click this Node in the main panel to open it
Enter the URL of the page you wish to test. We’ll use “https://qaqql.com“
Scroll down the Node Library to “Validators“ and drag in all the Lighthouse Nodes you want
Double-click each and enter the minimum Value you expect. We’ll enter 80 for each
“Wire up“ the Nodes to create a single continuous Flow
Hit Run (this will create a test and take you to the results view)
After a short delay, your test will start, and you’ll soon have your results