File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -516,15 +516,10 @@ async function captureFramesWithTiming(
516516async function captureFramesProgrammatically ( page , captureFrameFunction ) {
517517 const frames = [ ]
518518
519- page . on ( "console" , msg => {
520- console . log ( "BROWSER:" , msg . text ( ) )
521- } )
522-
523519 // set up the event listener and capture loop
524520 await page . exposeFunction ( "captureFrame" , async ( ) => {
525521 const frame = await captureFrameFunction ( )
526522 frames . push ( frame )
527- console . log ( `programmatic frame ${ frames . length } captured` )
528523 return frames . length
529524 } )
530525
@@ -535,11 +530,6 @@ async function captureFramesProgrammatically(page, captureFrameFunction) {
535530 const handleFrameCapture = async event => {
536531 const frameCount = await window . captureFrame ( )
537532
538- console . log ( JSON . stringify ( event ) )
539- console . log ( JSON . stringify ( { frameCount, maxFrames } ) )
540- console . log (
541- JSON . stringify ( { isLastFrame : event . detail ?. isLastFrame } )
542- )
543533 if ( event . detail ?. isLastFrame || frameCount >= maxFrames ) {
544534 window . removeEventListener (
545535 "fxhash-capture-frame" ,
You can’t perform that action at this time.
0 commit comments