This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const lighthouse = require('lighthouse'); | |
const chromeLauncher = require('chrome-launcher'); | |
const argv = require('yargs').argv; | |
const url = require('url'); | |
const fs = require('fs'); | |
const glob = require('glob'); | |
const path = require('path'); | |
const launchChromeAndRunLighthouse = (url) => { | |
return chromeLauncher.launch().then(chrome => { |