I\'m trying to capture the web page with puppeteer. For that I\'m using the same approach as puppeteer-recorder ie taking the screenshot for each frame and writing to the sp