File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,14 @@ export async function startBrowser(benchmarkOptions: BenchmarkOptions): Promise<
111
111
112
112
const args = [
113
113
`--window-size=${ window_width } ,${ window_height } ` ,
114
- "--js-flags=--expose-gc" ,
115
- "--no-default-browser-check" ,
116
- "--disable-sync" ,
117
- "--disable-first-run-ui" ,
118
- "--no-first-run" ,
114
+ "--js-flags=--expose-gc" , // needed for gc() function
115
+ "--no-default-browser-check" ,
116
+ "--disable-sync" ,
117
+ "--disable-first-run-ui" , // avoid popup "you can open bookmarks ..."
118
+ "--no-first-run" ,
119
119
"--disable-extensions" ,
120
- "--disable-features=Translate" ,
121
- "--disable-features=PrivacySandboxSettings4" ,
120
+ "--disable-features=Translate" , // avoid translation popups
121
+ "--disable-features=PrivacySandboxSettings4" , // avoid privacy popup
122
122
] ;
123
123
if ( benchmarkOptions . headless ) args . push ( "--headless=new" ) ;
124
124
You can’t perform that action at this time.
0 commit comments