We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0c60c commit d3b565dCopy full SHA for d3b565d
src/run-lighthouse.js
@@ -8,7 +8,10 @@ export const getBrowserPath = async () => {
8
headless: "new",
9
args: ['--no-sandbox', '--disable-gpu', '--disable-dev-shm-usage']
10
});
11
- return browser.browserPath;
+ const path = browser.process().spawnfile;
12
+ await browser.close();
13
+ console.log('got browser path : ', path);
14
+ return path;
15
};
16
17
export const runLighthouse = async (browserPath, url, settings) => {
0 commit comments