diff --git a/lib/runner.js b/lib/runner.js index eab325d..db53f82 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -27,7 +27,8 @@ async function runTest(url, options = {}) { const chromePath = process.platform === 'linux' ? '/usr/bin/chromium' : undefined; const chrome = await chromeLauncher.launch({ chromeFlags: ['--headless', '--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'], - chromePath: chromePath + chromePath: chromePath, + port: 0 // Force random port to avoid concurrency issues with default 9222 }); // Lighthouse Config