Skip to content

Commit

Permalink
fix: add --disable-dev-shm-usage to chrome flags
Browse files Browse the repository at this point in the history
  • Loading branch information
FAUSheppy authored Jan 29, 2024
1 parent ffb0a05 commit 4c330f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def _run(self, url:str, form_factor:str='mobile', quiet:bool=True,
'lighthouse',
url,
'--quiet' if quiet else '',
'--chrome-flags="--headless --no-sandbox"',
'--chrome-flags="--headless --no-sandbox --disable-dev-shm-usage"',
'--preset=perf',
'--emulated-form-factor={0}'.format(form_factor),
'--output=json',
Expand Down

0 comments on commit 4c330f9

Please sign in to comment.