@@ -27,7 +27,7 @@ export async function checkElementExists(page: Page, selector: string) {
27
27
await sel . dispose ( ) ;
28
28
return sel ;
29
29
}
30
- console . log ( " checkElementExists element not found" ) ;
30
+ console . log ( ` checkElementExists element ${ selector } not found` ) ;
31
31
await page . waitForTimeout ( k < 3 ? 10 : 1000 ) ;
32
32
}
33
33
console . log ( "checkElementExists waited " + ( Date . now ( ) - start ) + " but no luck" ) ;
@@ -101,7 +101,32 @@ export async function startBrowser(benchmarkOptions: BenchmarkDriverOptions): Pr
101
101
const browser = await puppeteer . launch ( {
102
102
headless : benchmarkOptions . headless ,
103
103
executablePath : browserPath ( benchmarkOptions ) ,
104
- ignoreDefaultArgs : [ "--enable-automation" ] ,
104
+ ignoreDefaultArgs : [ "--enable-automation" , // 92/115
105
+ "--disable-background-networking" ,
106
+ "--enable-features=NetworkService,NetworkServiceInProcess" ,
107
+ "--disable-background-timer-throttling" ,
108
+ "--disable-backgrounding-occluded-windows" ,
109
+ // "--disable-breakpad",
110
+ // "--disable-client-side-phishing-detection",
111
+ // "--disable-component-extensions-with-background-pages",
112
+ // "--disable-default-apps",
113
+ // "--disable-dev-shm-usage",
114
+ // // "--disable-extensions",
115
+ // // "--disable-features=Translate",
116
+ // "--disable-hang-monitor",
117
+ // "--disable-ipc-flooding-protection",
118
+ // "--disable-popup-blocking",
119
+ // "--disable-prompt-on-repost",
120
+ // "--disable-renderer-backgrounding",
121
+ // // "--disable-sync",
122
+ // "--force-color-profile=srgb",
123
+ // "--metrics-recording-only",
124
+ // // "--no-first-run",
125
+ // // "--password-store=basic",
126
+ // // "--use-mock-keychain",
127
+ // "--enable-blink-features=IdleDetection",
128
+ // // "--export-tagged-pdf"
129
+ ] ,
105
130
args : [ `--window-size=${ window_width } ,${ window_height } ` ] ,
106
131
dumpio : false ,
107
132
defaultViewport : {
0 commit comments