Skip to content

Commit

Permalink
fix: add --no-enable-error-reporting chrome flags
Browse files Browse the repository at this point in the history
  • Loading branch information
FAUSheppy committed Jan 29, 2024
1 parent 4c330f9 commit 1018c08
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 --disable-dev-shm-usage"',
'--chrome-flags="--headless --no-sandbox --disable-dev-shm-usage --no-enable-error-reporting"',
'--preset=perf',
'--emulated-form-factor={0}'.format(form_factor),
'--output=json',
Expand Down

0 comments on commit 1018c08

Please sign in to comment.