Skip to content

Commit 5406c38

Browse files
authored
Merge pull request #613 from HTTPArchive/headless
Use Chrome's new headless mode for lighthouse
2 parents 9c13679 + 600d433 commit 5406c38

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/chrome_desktop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def launch(self, job, task):
148148
if len(ENABLE_BLINK_FEATURES):
149149
args.append('--enable-blink-features=' + ','.join(ENABLE_BLINK_FEATURES))
150150
if task['running_lighthouse']:
151-
args.append('--headless')
151+
args.append('--headless=new')
152152

153153
if 'extensions' in job:
154154
extensions = job['extensions'].split(',')

internal/devtools_browser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ def run_lighthouse_test(self, task):
836836
'"{0}"'.format(self.job['url']),
837837
'--channel', 'wpt',
838838
'--enable-error-reporting',
839-
'--legacy-navigation',
840839
'--disable-full-page-screenshot',
841840
'--max-wait-for-load', str(int(time_limit * 1000)),
842841
'--hostname', '127.0.0.1',

0 commit comments

Comments
 (0)