@@ -276,21 +276,18 @@ export async function captureScreenshotsConcurrent(ctx: Context): Promise<Record
276276 }
277277 console . log ( `*** browserInstances requested ${ ctx . options . parallel } ` ) ;
278278 console . log ( `*** optimizeBrowserInstances ${ optimizeBrowserInstances } ` ) ;
279- console . log ( `*** urlsPerInstance ${ urlsPerInstance } = ${ totalSnapshots } / ${ optimizeBrowserInstances } ` ) ;
280- ctx . task . output = `Parallel Browser Instances: ${ optimizeBrowserInstances } \n` ;
279+ console . log ( `*** urlsPerInstance ${ urlsPerInstance } ` ) ;
280+ ctx . task . output = `URLs : ${ totalSnapshots } || Parallel Browser Instances: ${ optimizeBrowserInstances } \n` ;
281281 //Divide the URLs into chunks
282282 let staticURLChunks = splitURLs ( ctx . webStaticConfig , urlsPerInstance ) ;
283283 let totalCapturedScreenshots : number = 0 ;
284284 let output : any = '' ;
285285
286286 const responses = await Promise . all ( staticURLChunks . map ( async ( urlConfig ) => {
287- console . log ( `@@@@ staticURLChunks ${ JSON . stringify ( urlConfig ) } ` ) ;
288287 let { capturedScreenshots, finalOutput} = await processChunk ( ctx , urlConfig ) ;
289288 return { capturedScreenshots, finalOutput } ;
290289 } ) ) ;
291290
292- console . log ( `*** responses ${ JSON . stringify ( responses ) } ` ) ;
293-
294291 responses . forEach ( ( response : Record < string , any > ) => {
295292 totalCapturedScreenshots += response . capturedScreenshots ;
296293 output += response . finalOutput ;
@@ -326,7 +323,6 @@ async function processChunk(ctx: Context, urlConfig: Array<Record<string, any>>)
326323
327324 for ( let staticConfig of urlConfig ) {
328325 try {
329- console . log ( `#### staticConfig ${ JSON . stringify ( staticConfig ) } ` ) ;
330326 await captureScreenshotsAsync ( ctx , staticConfig , browsers ) ;
331327
332328 utils . delDir ( `screenshots/${ staticConfig . name . toLowerCase ( ) . replace ( / \s / g, '_' ) } ` ) ;
0 commit comments