From de2ad090e8c80800cc92e05341f3937e7102206b Mon Sep 17 00:00:00 2001 From: Tortitas Date: Thu, 31 Aug 2023 13:50:06 +0200 Subject: [PATCH] docs(readme): fix chrome-launcher import example --- docs/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/readme.md b/docs/readme.md index 8fa6079fba2d..a7b22a85bb39 100644 --- a/docs/readme.md +++ b/docs/readme.md @@ -10,7 +10,7 @@ assumes you've installed Lighthouse as a dependency (`yarn add --dev lighthouse` ```js import fs from 'fs'; import lighthouse from 'lighthouse'; -import chromeLauncher from 'chrome-launcher'; +import * as chromeLauncher from 'chrome-launcher'; const chrome = await chromeLauncher.launch({chromeFlags: ['--headless']}); const options = {logLevel: 'info', output: 'html', onlyCategories: ['performance'], port: chrome.port};