File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,26 @@ let browser;
119119 */
120120( async ( ) => {
121121 console . log ( "renderVisualizations.js: Starting headless browser..." ) ;
122- browser = await puppeteer . launch ( { headless : "new" , dumpio : true } ) ; // { headless: false } for testing
122+ browser = await puppeteer . launch ( {
123+ headless : "new" ,
124+ dumpio : true ,
125+ args : [
126+ "--enable-logging" ,
127+ "--disable-search-engine-choice-screen" ,
128+ "--ash-no-nudges" ,
129+ "--no-first-run" ,
130+ "--no-default-browser-check" ,
131+ "--hide-scrollbars" ,
132+ "--disable-features=Translate" ,
133+ "--disable-features=InterestFeedContentSuggestions" ,
134+ "--disable-extensions" ,
135+ "--disable-default-apps" ,
136+ "--disable-component-extensions-with-background-pages" ,
137+ "--disable-client-side-phishing-detection" ,
138+ "--use-gl=disabled" ,
139+ "--disable-features=Vulkan" ,
140+ ] ,
141+ } ) ; // { headless: false } for testing
123142
124143 // Get all *.html files in this (script) directory and its subdirectories
125144 // The separate filter is needed to ignore the "node_modules" directory.
You can’t perform that action at this time.
0 commit comments