You can run several lighthouse tests and easily get the average of them!
You can run this project with the following commands
$ yarn
$ node main.js [urlToTest] [numberOfRuns] [formFactor]
urlToTest
is the only mandatory parameter, the rest of them are optional. By default numberOfRuns
is 10
and formFactor is mobile